For some reason I can not get Vertex Colors and lights working together in DirectX, it works fine in OpenGL.
If I make a Material then my objects use that material and ignore the vertex colors. If I remove the material the lights don't work.
Can this be done in DirectX7?
These are the FVF flags I use : D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_DIFFUSE|D3DFVF_TEX1
Should I also be using D3DFVF_SPECULAR ??
If I make a Material then my objects use that material and ignore the vertex colors. If I remove the material the lights don't work.
Can this be done in DirectX7?
These are the FVF flags I use : D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_DIFFUSE|D3DFVF_TEX1
Should I also be using D3DFVF_SPECULAR ??