• Advertisement
Sign in to follow this  

hwo to do this render

This topic is 4919 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to render a triangle,but the triangle is render by two texture.one part is render by one texture, the other by next texture.like this : |\ | \ |--\ |___\ the top using one texture, the bottom use othere. How can i do?

Share this post


Link to post
Share on other sites
Advertisement
One way is to split your triangle. Into two parts. Then render the top half with one texture, and the bottom half with another.

Share this post


Link to post
Share on other sites
If you want a clean split between them, then you will have to split up the triangle into multiple triangles. In the case you gave the top part will be a single triangle but you'll need 2 to make up the bottom part.

Share this post


Link to post
Share on other sites
Quote:
Original post by DrunkenHyena
If you want a clean split between them, then you will have to split up the triangle into multiple triangles. In the case you gave the top part will be a single triangle but you'll need 2 to make up the bottom part.


Thanks!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement