home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 April / Gamestar_83_2006-04_dvd.iso / Dema / demowot_english.exe / InfDX / Shaders / simple-test-pixel.hlsl < prev    next >
Text File  |  2005-10-25  |  229b  |  13 lines

  1. struct VS_OUTPUT
  2. {
  3.     float2 UV        : TEXCOORD0;
  4. };
  5.  
  6. sampler sampler_blur : register(s0);
  7.  
  8. float4 main(VS_OUTPUT In) : COLOR
  9. {
  10.     float4 nvidia=float4(In.UV.x, In.UV.y, 0.99, 1);
  11.     return tex2Dproj(sampler_blur, nvidia);
  12. }  
  13.