0

I am wondering if you happen to know how to change the default perspective correct texturing to affine texturing in HLSL or d3d11. I have to do specifically this for an assignment I am working on and any help would be great. THANKS!

1 Answers1

0

There are so called interpolation modifiers that do exactly this. You want noperspective. The declaration would look as follows:

noperspective float2 texCoords;
Nico Schertler
  • 32,049
  • 4
  • 39
  • 70