Sign in to follow this  

Multiple Texture Coords?

Recommended Posts

If I understood your question, you can add another pair of uv coordinates, like:

struct MY_VERTEX
vector3 pos;
vector3 normal;
vector2 uv0, uv1;

And then use the follwing FVF: (D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_TEX0|D3DFVF_TEX1).

But what I would do is to use vertex shaders copying the first stage coordinates to the oT0 and oT1 registers, unless you wish to use diferent values for the both textures.

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