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!
Asked
Active
Viewed 671 times
0
-
Welcome to Stack Overflow! Yes, any help would be great, but first you should try doing it yourself. – The SE I loved is dead Jul 24 '16 at 19:09
1 Answers
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