home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / Shaders / Cache / CGPShaders / CGRCRenderModeCold$D3D9_PS11$NoFog.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  994 b   |  30 lines

  1. //CGVER3.4
  2. // Pixel Shader 1.1 generated by NVIDIA Cg compiler
  3. // cgc version 1.2.1001, build date Jun 11 2004  18:11:01
  4. // command line args: -q -profile ps_1_1 -entry main -DCGC=1
  5. //vendor NVIDIA Corporation
  6. //version 1.0.02
  7. //profile ps_1_1
  8. //program main
  9. //semantic main.ScreenTex : TEXUNIT0
  10. //semantic main.ScreenBluredTex : TEXUNIT1
  11. //semantic main.GlobalFogColor : C7
  12. //var sampler2D ScreenTex : TEXUNIT0 : texunit 0 : 1 : 1
  13. //var sampler2D ScreenBluredTex : TEXUNIT1 : texunit 1 : 2 : 1
  14. //var float3 GlobalFogColor : C7 : c[7] : 3 : 1
  15. //var float4 IN.Tex0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
  16. //var float4 IN.Tex1 : $vin.TEXCOORD1 : TEXCOORD1 : 0 : 1
  17. //var float4 main.Color : $vout.COLOR : COLOR : -1 : 1
  18. ps.1.1
  19. def c0, 0.000000, 0.000000, 1.000000, 0.000000
  20. def c1, 0.300000, 0.300000, 0.300000, 0.000000
  21. def c2, 0.750000, 0.750000, 0.750000, 0.000000
  22. tex t0
  23. tex t1
  24. mul t1.rgb, t1, c1
  25. mad_sat t0.rgb, t0, c2, -t1
  26. mov_x2 r0.rgb, t0
  27. + mov r0.a, c0.b
  28. // 5 instructions
  29. // End of program
  30.