home *** CD-ROM | disk | FTP | other *** search
- //CGVER3.4
- // Pixel Shader 1.1 generated by NVIDIA Cg compiler
- // cgc version 1.2.1001, build date Jun 11 2004 18:11:01
- // command line args: -q -profile ps_1_1 -entry main -DCGC=1
- //vendor NVIDIA Corporation
- //version 1.0.02
- //profile ps_1_1
- //program main
- //semantic main.baseMap : TEXUNIT0
- //semantic main.Ambient
- //semantic main.GlobalFogColor : C7
- //var sampler2D baseMap : TEXUNIT0 : texunit 0 : 1 : 1
- //var float4 Ambient : : : 2 : 1
- //var float3 GlobalFogColor : C7 : c[7] : 3 : 1
- //var float4 IN.baseTC : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
- //var float4 IN.Color : $vin.COLOR0 : COLOR0 : 0 : 1
- //var float4 IN.Color1 : $vin.COLOR1 : COLOR1 : 0 : 1
- //var float4 main.Color : $vout.COLOR : COLOR : -1 : 1
- ps.1.1
- def c0, 0.000000, 0.000000, 1.000000, 0.000000
- tex t0
- mov_sat r0.a, v0.a
- mov_d2 t0.a, 1-r0.a
- mad r0.rgb, t0, v0.a, t0.a
- + mov r0.a, c0.b
- // 4 instructions
- // End of program
-