home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / Shaders / Cache / CGPShaders / CGRCMotion$D3D9_PS20$NoFog$HDR$MRT.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  1.0 KB  |  50 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. //   sampler2D $baseMap1;
  12. //   sampler2D $baseMap2;
  13. //   sampler2D $baseMap3;
  14. //   float4 $fMotionParams;
  15. //
  16. //
  17. // Registers:
  18. //
  19. //   Name           Reg   Size
  20. //   -------------- ----- ----
  21. //   $fMotionParams c0       1
  22. //   $baseMap0      s0       1
  23. //   $baseMap1      s1       1
  24. //   $baseMap2      s2       1
  25. //   $baseMap3      s3       1
  26. //
  27.  
  28.     ps_2_0
  29.     def c1, 0.25, 0, 0, 0
  30.     dcl t0.xy
  31.     dcl t1.xy
  32.     dcl t2.xy
  33.     dcl t3.xy
  34.     dcl_2d s0
  35.     dcl_2d s1
  36.     dcl_2d s2
  37.     dcl_2d s3
  38.     texld r3, t3, s3
  39.     texld r2, t2, s2
  40.     texld r1, t1, s1
  41.     texld r0, t0, s0
  42.     mul r3.xyz, r3, c1.x
  43.     mad r2.xyz, r2, c1.x, r3
  44.     mad r1.xyz, r1, c1.x, r2
  45.     mad r0.xyz, r0, c1.x, r1
  46.     mov r0.w, c0.w
  47.     mov oC0, r0
  48.  
  49. // approximately 10 instruction slots used (4 texture, 6 arithmetic)
  50.