Transforming texture coordinates to clipspace?

Started by
-1 comments, last by mlt 15 years, 4 months ago
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