Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Lambertian shading, Gouraud shading, Phong shading?

Dikenal juga sebagai: Lambertian shading · Gouraud shading · Phong shading

Definition 31.6 University Computer Science — Year 3 · Bab 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.
Baca dalam konteks →