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.ScreenTexMask : TEXUNIT0
- //semantic main.ScreenTex : TEXUNIT1
- //semantic main.HeatPaleteTex : TEXUNIT2
- //semantic main.vHeatConstants
- //semantic main.GlobalFogColor : C7
- //var sampler2D ScreenTexMask : TEXUNIT0 : texunit 0 : 1 : 1
- //var sampler2D ScreenTex : TEXUNIT1 : texunit 1 : 2 : 1
- //var sampler2D HeatPaleteTex : TEXUNIT2 : texunit 2 : 3 : 1
- //var float4 vHeatConstants : : : 4 : 1
- //var float3 GlobalFogColor : C7 : c[7] : 5 : 1
- //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 float4 main.Color : $vout.COLOR : COLOR : -1 : 1
- ps.1.1
- def c0, 0.000000, 0.000000, 1.000000, 0.000000
- def c1, 0.000000, 0.251000, 0.251000, 0.000000
- def c2, 0.000000, 0.000000, 0.020000, 0.000000
- def c3, 1.000000, 0.000000, 0.000000, 0.020000
- tex t0
- dp3_sat t1.rgb, t0, c1
- + mov_x4 t0.a, t0.a
- dp3 r0.rgb, c3, t0
- + add r0.a, t1.b, c2.b
- cnd t1.rgb, r0.a, r0, t0
- + add r0.a, t0.a, c3.a
- cnd r0.rgb, r0.a, t0, t1
- + mov r0.a, c0.b
- // 5 instructions
- // End of program
-