🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Transforming texture coordinates to clipspace?
In a fragment program I would like to lookup a texture which I will use for the fragment color.
In the vertex program I receive the vertex position and the texture coordinates. I transform the position to clip-space:
OUT.position = mul(ModelViewProj, IN.position);
But should the texture coordinates also be transformed or can they just be transferred directly to the fragment program?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement