home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 September
/
Gamestar_65_2004-09_dvd.iso
/
Dema
/
balloonrain_trial.exe
/
Data
/
Pak01.pak
/
dxshaders
/
vertexbas05.i
< prev
next >
Wrap
Text File
|
2004-06-22
|
662b
|
63 lines
#line 1 "..\\Shaders\\VertexBas05.vxs"
#line 1 "..\\Shaders\\VertexBas.h"
#line 2 "..\\Shaders\\VertexBas05.vxs"
vs.1.0
dp4 oPos.x, v0, c[4+0]
dp4 oPos.y, v0, c[4+1]
dp4 oPos.z, v0, c[4+2]
dp4 oPos.w, v0, c[4+3]
dp3 r0.x, v3, c[8]
dp3 r0.y, v4, c[8]
dp3 r0.z, v5, c[8]
mad oD0.xyz, r0.yxz, c[0].y, c[0].y
sub r0, c[14], v0
dp3 r1.w, r0, r0
rsq r1.w, r1.w
mul r0, r0, r1.w
add r0, r0, c[8]
dp3 r1.w, r0, r0
rsq r1.w, r1.w
mul r1, r0, r1.w
dp3 r0.x, v3, r1
dp3 r0.y, v4, r1
dp3 r0.z, v5, r1
mad oD1, r0.yxz, c[0].y, c[0].y