//CGVER2.5
// Pixel Shader 1.1 generated by NVIDIA Cg compiler
// cgc version 1.1.0003, build date Jul  7 2003  11:55:19
// command line args: -q -profile ps_1_1 -entry main
//vendor NVIDIA Corporation
//version 1.0.02
//profile ps_1_1
//program main
//semantic main.shadowMap0 : TEXUNIT0
//semantic main.baseMap : TEXUNIT1
//semantic main.Ambient
//semantic main.Fading
//var float4 IN.Tex0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
//var float4 IN.Tex1 : $vin.TEXCOORD1 : TEXCOORD1 : 0 : 1
//var float4 IN.Tex2 : $vin.TEXCOORD2 : TEXCOORD2 : 0 : 1
//var sampler2D shadowMap0 : TEXUNIT0 : texunit 0 : 1 : 1
//var sampler2D baseMap : TEXUNIT1 : texunit 1 : 2 : 1
//var float4 Ambient :  : c[0] : 3 : 1
//var float4 Fading :  : c[1] : 4 : 1
//var float4 Color : $vout.COLOR : COLOR : -1 : 1
ps.1.1
def c2, 1.000000, 0.000000, 0.000000, 1.000000
def c3, 0.000000, 1.000000, 0.000000, 1.000000
def c4, 1.000000, 1.000000, 0.000000, 1.000000
tex t0
tex t1
tex t2
texcoord t3
dp3 r1.rgb, t3, c3
+mov r0.a, t3.b
mul r0.rgb, t2, c0
+cnd r1.a, r0.a, 1-t0.b, c2.b
mul t0.rgb, r1.a, c2
+mov r0.a, r1.b
mul t0.rgb, t0, c2
+cnd r0.a, r0.a, 1-t1.b, c2.b
mad r1.rgb, r0.a, c3, t0
mul r1.rgb, r1, c1
dp3 r1.rgb, r1, c4
mov r0.a, r1.b
// 10 instructions
// End of program
