本文共 546 字,大约阅读时间需要 1 分钟。
diffuse lighting calculates the amount of light that a vertex receives based on the angle between the vertex normal and the light vector (which points in the direction of the light source). The smaller the angle, the more light the vertex receives, and the larger the angle, the less light the vertex receives. If the angle is greater than or equal to 90 degrees, the vertex receives no light.
from Introduction to 3D game programming with DirectX 9.0
本文转自zdd博客园博客,原文链接:http://www.cnblogs.com/graphics/archive/2009/10/29/1591968.html,如需转载请自行联系原作者