Add materials
jsocol opened this issue · comments
James Socol commented
Materials override simple vertex colors and let us define how a material reflects different types of light—ambient, diffuse, specular, internal/emitted light—and a "power" or "shininess" factor.
In D3D9, materials are configured on the IDirect3DDevice9 with the SetMaterial method.