Sign in to follow this  

Ambient and Diffuse?

Recommended Posts

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.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this