Original Post
I got a slight problem: I set up my very simple vertex shader to use the diffuse color of a vertex. The problem comes when I set the vertex color to white (0xFFFFFFFF), which then shows up as a pinkish color, any thoughts as to why this happens? Here is the vertex definition: struct VERTEX { float x,y,z; DWORD color; float tu, tv; }; #define D3DFVF_VERTEX (D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1) And the vertex shader I use: vs.1.1 dcl_position v0 dcl_color v1 m4x4 oPos, v0, c4 mov oD0, v1 Where c4 is the transformation matrix. Any thoughts would be appreciatied. EDIT: never mind, after tinkering with it for a few hours, I realized that if you set a texture to the device, it will alter the color of the object. No clue as to why though, but when I removed the texture from my objects, they became snow white. [Edited by - Asterisk Man on December 17, 2004 1:12:59 PM]