












































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!













































In order to get a more realistic representation of lighting, we need to move away from the simplistic models that are found hard coded in most graphics pipelines.
and move to something that is based more in a physical representation of light as a wave with properties of its own that can interact with its environment
In Figure 1, there's an incident light hitting a surface. At the boundary of the two media (in this case, air and glass), there are two resulting rays of light.
The reflected ray is the one that we've already discussed to some extent, and the other ray is the refracted or transmitted ray.
Until now, we've been treating our surfaces as perfectly smooth and uniform this prevents us from getting some interesting effects
In addition to examining the interaction of light with the surface boundary, we need a better description of real surface geometries
Reflection of a light wave is the change in direction of the light ray when it bounces off the boundary between two media
Using a lighting model based upon the Blinn— Phong model means that we'll always get a uniform specular highlight based upon the color of the reflecting light and material
In order to get a more interesting and realistic lighting model, we need to add in some nonlinear elements to our calculations
Refraction happens when a light wave goes from one medium into another.
Because of the difference in the speed of light of the media, light bends when it crosses the boundary. Snell's law gives the change in angles.