Quote:
Originally Posted by Hans Witteman
because we don't have access to the ocean shader it is hard coded.
|
This is the ocean pixel shader code used in SH3
Code:
ps_1_1
tex t0
texbem t1, t0
mad t1, t1, c0.w, c1.w
dp3_sat r0, v0_bx2, t0
lrp r0.xyz, r0.w, c0, c1
lrp r0.xyz, v0.w, t1, r0
+ mov r0.w, t0.w
// approximately 6 instruction slots used (2 texture, 4 arithmetic)