Sign in to follow this  

Different texture to map different part of one model

Recommended Posts

I generate one tree realtime. The tree contains branches and leaves, and I want to use two different texture to branches and leaves. The branches is drawed with D3DXCreateCylinder, and leaves is drawed with two triangles.I have two prolems: 1. how to map texture to cylinder. to map different textures to branch and leave? Thank you.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this