转自:http://blog.csdn.net/liu_lin_xm/article/details/4850609 摘抄“GPU Programming And Cg Language Primer 1rd Edition” 中文 名“GPU编程与CG语言之阳春白雪下里巴人” 15.1 光线投射算法原理 光线投射方法是基于图像序列的直接体绘制算法.从图像的每一个像素,沿固定方向(通常是视线方向)发射一条光线,光线穿越整个图像序列,并在这个过程中,对图像序列进行采样获取颜色信息,同时依据光线吸收…
Lighting overview 照明概述 In order to calculate the shading of a 3D object, Unity needs to know the intensity, direction and color of the light that falls on it. 为了计算3D物体的阴影,Unity需要知道落在它上面的光的强度,方向和颜色. These properties are provided by Light objects i…