Original Post
🔒 Locked
Ambient and Diffuse?
Advertisement
This is all covered in the SDK docs in the section titled Lights and Materials.
A material is how the object reflects light, whereas a D3DLIGHT9 object represents a light source. If the object only reflects red light, and the light source is only green, then the object will be completely dark. If the object reflects red (material is red) and the light source emits red, then the object will be lit to the fullness of the light hitting it. Ambient light is light all around you. In terms of a 3D object, it's the color and intensity that object is. Diffuse is the light that reflects off and on the surface's tiny crevices diffusing the light over the surface, based on distance, direction, and intensity.
Chris
Chris
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement