xps.1.1 def c0, 1.0, 1.0, 1.0, 0.5 tex t0 ;sample normal map ;These three instructions transform the normal into world space and reflect ;the eye vector from the w components of t1-t3 across that world space normal. ;The result is then used to sample the cube map in stage 3. texm3x3pad t1, t0_bx2 texm3x3pad t2, t0_bx2 texm3x3vspec t3, t0_bx2 mov r1, v1 mul r0.rgba, r1.rgba, t3 ;mov r0, t3 xfc zero, zero, r0, zero, zero, zero, r1.a