方向向量 direction vector
- 反射:使用反射向量的方向作为坐标。环境映射需要这种输入。
Refl: Uses the direction of the reflection vector as coordinates. You will need this input when Environment Mapping. - 法向:使用法向量的方向作为坐标。这在创建某些特效时非常有用(见下文)。
Nor: Uses the direction of the normal vector as coordinates. This is very useful when creating certain special effects (see below). - 函数的源代码如下。注意如果光源是方向光,向量的前三个部分将被归一化,来节省时间。
The source code is presented next. Note that if the light is a directional light, the vector with the first three components is normalised to save time latter.
您正在访问的是
中国词汇量第二的英语词典
更多精彩,登录后发现......