Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
358 B

  1. vs.1.1
  2. #include "macros.vsh"
  3. &AllocateRegister( \$projPos );
  4. dp4 $projPos.x, $vPos, $cModelViewProj0
  5. dp4 $projPos.y, $vPos, $cModelViewProj1
  6. dp4 $projPos.z, $vPos, $cModelViewProj2
  7. dp4 $projPos.w, $vPos, $cModelViewProj3
  8. mov oPos, $projPos
  9. mov oT0, $vTexCoord0
  10. mov oT1, $vTexCoord0
  11. mov oT2, $vTexCoord0
  12. mov oT3, $vTexCoord0
  13. &FreeRegister( \$projPos );