Original Post
Hi, im having some trouble with my mesh when i add the D3DFVF_TEX1 value to it, the whole thing shows up with crazy colors like a rainbow had sex with my vertex data and I can see why its doing this. I know all the UV values that are coming in are right so i think it must be the way i have the FVF values set up, i included a pic of the problem and the sample code for my vertex struct. Thanks for any help, -Dave
a. Mesh without D3DFVF_TEX1 b. With D3DFVF_TEX1 added and nothing else
a. Mesh without D3DFVF_TEX1 b. With D3DFVF_TEX1 added and nothing else
struct Vertex{
float x, y, z, u, v;
DWORD color;
enum FVF{ FVF_Flags = D3DFVF_XYZ | D3DFVF_TEX1 | D3DFVF_DIFFUSE };
};