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_PS20$NoFog$HDR$MRT.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  732 b   |  35 lines

  1. //CGVER3.4
  2. //
  3. // Generated by Microsoft (R) D3DX9 Shader Compiler 5.04.00.2904
  4. //
  5. //   fxc /T ps_2_0 /DCGC=0 /Fc $$out.cg $$in.cg
  6. //
  7. //
  8. // Parameters:
  9. //
  10. //   sampler2D $baseMap0;
  11. //
  12. //
  13. // Registers:
  14. //
  15. //   Name         Reg   Size
  16. //   ------------ ----- ----
  17. //   $baseMap0    s0       1
  18. //
  19.  
  20.     ps_2_0
  21.     def c0, 0.300000012, 0.589999974, 0.109999999, 0.224999994
  22.     def c1, 0.75, 1, 0, 0
  23.     def c2, 1.25, 1.24000001, 1.20000005, 0
  24.     dcl t0.xy
  25.     dcl_2d s0
  26.     texld r0, t0, s0
  27.     dp3_sat r1.x, c0, r0
  28.     mul r0.w, r1.x, c0.w
  29.     mad r0.xyz, r0, c1.x, r0.w
  30.     mul_sat r0.xyz, r0, c2
  31.     mov r0.w, c1.y
  32.     mov oC0, r0
  33.  
  34. // approximately 7 instruction slots used (1 texture, 6 arithmetic)
  35.