Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Lambertian shading, Gouraud shading, Phong shading?

También llamado: Lambertian shading · Gouraud shading · Phong shading

Definition 31.6 University Computer Science — Year 3 · Capítulo 31 — Computer Graphics: From Triangles to Pixels

Lambertian shading colours a point in proportion to max⁡(0,n⋅L)\max(0, \mathbf n \cdot \mathbf L), as a matt surface that scatters light equally in every direction. Gouraud shading computes the light at the vertices of each triangle, with the vertex normals, and interpolates the colours across the triangle. Phong shading interpolates the normals instead, renormalises them, and computes the light at every pixel.

The two halves of shade.c. On the left, the highlight falls between vertices and is smeared over a few triangles, whose edges show in the shading; on the right, it is a small bright spot.
The two halves of shade.c. On the left, the highlight falls between vertices and is smeared over a few triangles, whose edges show in the shading; on the right, it is a small bright spot.
Leer en el capítulo →