home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 April / Gamestar_83_2006-04_dvd.iso / Dema / demowot_english.exe / InfDX / x / notused / deferred-lightcontrib-pixel.hlsl < prev    next >
Text File  |  2005-03-22  |  322b  |  16 lines

  1. struct VS_OUTPUT
  2. {
  3.     float2 UV        : TEXCOORD0;
  4.     float2 ScreenPos    : TEXCOORD1;
  5. };
  6.  
  7. sampler sampler_albedo : register(s0);
  8. sampler sampler_lightcontrib : register(s1);
  9.  
  10. float4    TDX_CONST_ONEPIXEL;
  11.  
  12. float4 main(VS_OUTPUT In) : COLOR
  13. {
  14.     return tex2D(sampler_lightcontrib, In.UV)*tex2D(sampler_albedo, In.UV)*4;
  15. }  
  16.