detail textures on a terrain
Hi,
I am working on a terrain engine. I use ROAM and I have a 2048x2048 texture, that I divide into 256x256 textures. But that''s not enough detail. So I want to use detail textures. But I don''t know how to do. I use DirectX 7.
I use
D3DLVERTEX(D3DVECTOR(x,y,z),color,0,u,v);
for my terrain vertices. So actually I need for every polygon the u,v coordinates one time for the detail texture, and one time for the whole texture. But how can I do this?
Flexible Vertex Format (FVF)
I''ve never really worked with DirectX7 but I''m pretty sure FVF already existed there.
I''ve never really worked with DirectX7 but I''m pretty sure FVF already existed there.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement