How to simulate light and lighting in computer graphics? How to enhance realism?
Shading (Foley 1994, 430-431):
- Visible surfaces of objects can be shaded to increase realism.
- The appearance of the surfaces depends on:
- types of light sources used for illuminating
- the properties of the object – color, texture, reflectance
- position of the object
- orientation in relation to light sources, viewer, and other surfaces
- Ambient light is the easiest form of light source to model, because it isn’t dependent on the position or orientation of the surfaces, but the illumination is uniform on all surfaces. Using only ambient light will result in an unrealistic image.
- In addition to ambient light, other light sources can be used:
- a point source
- a directional source
- a distributed, or extended source
- Shading information can be computed for each polygon vertex (this is referred to as interpolated shading). This can be used especially for curved surfaces.
Foley, James D. (1994). Introduction to computer graphics. Addison-Wesley cop.