Original Post
Just learning dx and im making small prgram that displays a polygon facing the viewpoint. The polygon is always white... I created a material object and use the IDirect3DDevice9::SetMaterial() function to set it. This has no affect. I also tried using color data in my vertex structure to no avail. I think the problem is i havnt created any lighting. Is this the problem?