全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Lambertian shading, Gouraud shading, Phong shading?

又称: Lambertian shading · Gouraud shading · Phong shading

Definition 31.6 University Computer Science — Year 3 · 第 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.
在原文中阅读 →