home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / Shaders / Cache / CGPShaders / CGRCCartoon$D3D9_PS11$NoFog.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  967 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.baseMap0 : TEXUNIT0
  10. //semantic main.GlobalFogColor : C7
  11. //var sampler2D baseMap0 : TEXUNIT0 : texunit 0 : 1 : 1
  12. //var float3 GlobalFogColor : C7 : c[7] : 2 : 1
  13. //var float4 IN.Tex0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
  14. //var float4 main.Color : $vout.COLOR : COLOR : -1 : 1
  15. ps.1.1
  16. def c0, 0.000000, 0.000000, 1.000000, 0.000000
  17. def c1, 0.300000, 0.590000, 0.110000, 0.000000
  18. def c2, 0.000000, 0.000000, 0.900000, 0.000000
  19. def c3, 0.750000, 0.750000, 0.750000, 0.250000
  20. def c4, 0.250000, 0.240000, 0.200000, 0.000000
  21. tex t0
  22. dp3_sat t1.rgb, c1, t0
  23. mul t0.a, t1.b, c2.b
  24. mul r0.rgb, t0.a, c3.a
  25. mad t0.rgb, t0, c3, r0
  26. mad_sat r0.rgb, t0, c4, t0
  27. + mov r0.a, c0.b
  28. // 6 instructions
  29. // End of program
  30.