home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / Shaders / Cache / CGPShaders / CGPSScreen$D3D9_PS20$NoFog$HDR$MRT.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  715 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. //   float4 $Matrix;
  11. //   sampler2D $bumpMap;
  12. //   sampler2D $envMap;
  13. //
  14. //
  15. // Registers:
  16. //
  17. //   Name         Reg   Size
  18. //   ------------ ----- ----
  19. //   $Matrix      c0       1
  20. //   $bumpMap     s0       1
  21. //   $envMap      s1       1
  22. //
  23.  
  24.     ps_2_0
  25.     dcl t0.xy
  26.     dcl t1.xy
  27.     dcl_2d s0
  28.     dcl_2d s1
  29.     texld r0, t0, s0
  30.     mad r1.xy, c0, r0.x, t1
  31.     mad r0.x, c0.z, r0.y, r1.x
  32.     mad r0.y, c0.w, r0.y, r1.y
  33.     texld r0, r0, s1
  34.     mov oC0, r0
  35.  
  36. // approximately 6 instruction slots used (2 texture, 4 arithmetic)
  37.