home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 January / Gamestar_69_2005-01_dvd.iso / Dema / theprojectv1-0.exe / Shaders / Cache / CGPShaders / CGRCMotionAmount$D3D9_PS11$NoFog.cgps < prev    next >
Encoding:
Text File  |  2004-11-27  |  1.0 KB  |  31 lines

  1. //CGVER3.4
  2. // Pixel Shader 1.1 generated by NVIDIA Cg compiler
  3. // cgc version 1.2.1001, build date Jun 11 2004  18:11:01
  4. // command line args: -q -profile ps_1_1 -entry main -DCGC=1
  5. //vendor NVIDIA Corporation
  6. //version 1.0.02
  7. //profile ps_1_1
  8. //program main
  9. //semantic main.CurrScreen : TEXUNIT0
  10. //semantic main.LastScreen : TEXUNIT1
  11. //semantic main.vMotionParams
  12. //semantic main.GlobalFogColor : C7
  13. //var sampler2D CurrScreen : TEXUNIT0 : texunit 0 : 1 : 1
  14. //var sampler2D LastScreen : TEXUNIT1 : texunit 1 : 2 : 1
  15. //var float4 vMotionParams :  : c[1] : 3 : 1
  16. //var float3 GlobalFogColor : C7 : c[7] : 4 : 1
  17. //var float4 IN.Tex0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
  18. //var float4 IN.Tex1 : $vin.TEXCOORD1 : TEXCOORD1 : 0 : 1
  19. //var float4 main.Color : $vout.COLOR : COLOR : -1 : 1
  20. ps.1.1
  21. def c0, 0.000000, 0.000000, 1.000000, 0.000000
  22. def c2, 0.000000, 0.000000, 1.000000, -1.000000
  23. tex t0
  24. tex t1
  25. mul r0.rgb, t0, c1.a
  26. + mad t0.a, c1.a, c2.a, c2.b
  27. mad r0.rgb, t0.a, t1, r0
  28. + mov r0.a, c0.b
  29. // 4 instructions
  30. // End of program
  31.