home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 September
/
Gamestar_65_2004-09_dvd.iso
/
Dema
/
balloonrain_trial.exe
/
Data
/
Pak01.pak
/
dxshaders
/
vertexbas00.i
< prev
next >
Wrap
Text File
|
2004-06-22
|
962b
|
106 lines
#line 1 "..\\Shaders\\VertexBas00.vxs"
#line 1 "..\\Shaders\\VertexBas.h"
#line 2 "..\\Shaders\\VertexBas00.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, v1, c[8]
dp3 r0.y, v1, c[11]
mov r0.w, c[13].x
lit r1, r0
mul r10, r1.z, c[12]
mul r1, r1.y, c[9]
add r6, r1, c[10]
;
add r3, c[14], -v0
dp3 r3.w, r3, r3
rsq r1.w, r3.w
mul r3, r3, r1.w
;
add r9, c[32], -v0
dp3 r7.w, r9, r9
rsq r9.w, r7.w
;
dst r7, r7.wwww, r9.wwww
dp3 r7.w, r7, c[35]
rcp r8.w, r7.w
;
mul r9, r9, r9.w
;
;
dp3 r0.x, v1, r9
;
;
add r2, r3, r9
;
dp3 r2.w, r2, r2
rsq r2.w, r2.w
mul r2, r2, r2.w
;
;
dp3 r0.y, v1, r2
;
;
lit r5, r0
;
mul r5, r5, r8.w
;
mad oD0, r5.y, c[33], r6
;
mad oD1, r5.z, c[34], r10