
































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































































We will now take a look at the traditional method of calculating lighting in hardware
A method that we'll find is sufficient for most of our needs
The traditional approach in real-time computer graphics has been to calculate lighting at a vertex as a sum of the ambient, diffuse, and specular light.
we have an ambient term and then a sum of all the light from the light sources
This is called a local lighting model since the only light on a vertex is from a light source, not from other objects.
That is, lights are lights, not objects!
or a surface that doesn't really reflect light uniformly in all directions (like brushed metal, hair, or skin).
However, with liberal use of texture maps to add detail, this model has served pretty well and can still be used for a majority of the lighting processing to create a realistic environment in real time
Ambient Light
Ambient light is the light that comes from all directions ā thus all surfaces are illuminated equally regardless of orientation