ps.1.1
//tex t0
//tex t1
//tex t2



//tex t0      ; Base
tex t0      ; Normal
tex t1      ; Cubic Normalized Tangent Space Light Direction 0
tex t2      ; Cubic Normalized Tangent Space Light Direction 1
tex t3      ; Cubic Normalized Tangent Space Light Direction 2
texcoord t4 ;color 4  


dp3_sat r2, t0_bx2, t2_bx2  ; N.L
mad r2.rgb,r2,v0,c0

dp3_sat r1, t0_bx2, t2_bx2  ; N.L
mad r1.rgb,r1,t4,r2

dp3_sat r0, t0_bx2, t3_bx2  ; N.L
mad r0.rgb,r0,v1,r1