Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Lambertian shading, Gouraud shading, Phong shading?

Ook bekend als: Lambertian shading · Gouraud shading · Phong shading

Definition 31.6 University Computer Science — Year 3 · Hoofdstuk 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.
Lees in het hoofdstuk →