且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

散射光的计算方法

更新时间:2022-09-16 20:13:18

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,如需转载请自行联系原作者