






















































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!























































Now that we have a way to find the light hitting a surface, we're going to need some lights!
Parallel Lights (or Directional Lights)
Point Lights
Spotlights
All of the light rays that reach the object are parallel (hence the name).
The standard use of parallel lights is to simulate the sun.
While it's not infinitely far away, 93 million miles is good enough!
whereas point lights and spotlights involve vector subtractions and a normalization per vertex.
Parallel light sources are the easiest and therefore fastest to process.
One step better than directional lights are point lights.
They represent infinitesimally small points that emit light.
we can have the intensity falloff based on the inverse squared distance from the light, which is how real lights work.