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