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_PS20$NoFog$HDR$MRT.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  739 b   |  37 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 $ScreenBluredTex;
  11. //   sampler2D $ScreenTex;
  12. //
  13. //
  14. // Registers:
  15. //
  16. //   Name             Reg   Size
  17. //   ---------------- ----- ----
  18. //   $ScreenTex       s0       1
  19. //   $ScreenBluredTex s1       1
  20. //
  21.  
  22.     ps_2_0
  23.     def c0, 0.300000012, 0.75, 1, 0
  24.     dcl t0.xy
  25.     dcl t1.xy
  26.     dcl_2d s0
  27.     dcl_2d s1
  28.     texld r1, t1, s1
  29.     texld r0, t0, s0
  30.     mul r1.xyz, r1, c0.x
  31.     mad_sat r0.xyz, r0, c0.y, -r1
  32.     add r0.xyz, r0, r0
  33.     mov r0.w, c0.z
  34.     mov oC0, r0
  35.  
  36. // approximately 7 instruction slots used (2 texture, 5 arithmetic)
  37.