This topic is now archived and is closed to further replies.


Triangle with a Texture

Recommended Posts

I think you are confused. Let me clear it up for you. You select a point, and then you set its Texture coordinates, or what part of the TEXTURE that will be put there, and then you do that for each point, and then set the Texture in the render function, and draw your objects... so, 0.0f, 0.0f would be upper left corner, 1.0f, 1.0f would be lower right, and 0.5f, 0.5f would be the center of the texture. Hope that helps


Share this post

Link to post
Share on other sites