Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualHawkblood

Posted 10 February 2013 - 11:12 AM

Ok. I figured out what is causing it. Well, I think I did..... My terrain has 2 tex coordinate sets (tu,tv). One for the base texture and the other for the detail. When I set the "detail" tu,tv pair to 0,0 the ship interior renders correctly, but the terrain of course doesn't..... I wish someone would help me.sad.png

 

Here is my FVF info:

 

struct T_D3DVERTEX {float x, y, z; float nx,ny,nz; float tu1,tv1; float tu2,tv2;};
 

#define T_D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_TEX2)


 


#1Hawkblood

Posted 10 February 2013 - 11:09 AM

Ok. I figured out what is causing it. Well, I think I did..... My terrain has 2 tex coordinate sets (tu,tv). One for the base texture and the other for the detail. When I set the "detail" tu,tv pair to 0,0 the ship interior renders correctly, but the terrain of course doesn't..... I wish someone would help me.sad.png


PARTNERS