Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.

20 lines
358 B

5 years ago
vs.1.1
#include "macros.vsh"
&AllocateRegister( \$projPos );
dp4 $projPos.x, $vPos, $cModelViewProj0
dp4 $projPos.y, $vPos, $cModelViewProj1
dp4 $projPos.z, $vPos, $cModelViewProj2
dp4 $projPos.w, $vPos, $cModelViewProj3
mov oPos, $projPos
mov oT0, $vTexCoord0
mov oT1, $vTexCoord0
mov oT2, $vTexCoord0
mov oT3, $vTexCoord0
&FreeRegister( \$projPos );