Ray
雷
Preview 预览Basic 基础Outputs 产出Context 背景Ray
雷

This Node can be used to query the ray type at the current sample position. You can ascertain if the ray computes a shadow, is used to create a reflection or even if it is used for Global Illumination. The corresponding Boole signals can, for example, be used to modify specific properties of a given material during the various rendering phases. This makes entirely new possibilities available for creating material effects, which otherwise can’t be achieved.
此节点可用于查询当前示例位置的射线类型。你可以确定光线是否计算阴影,是否用于创建反射,甚至是否用于全局光源。例如,在不同的渲染阶段,相应的 Boole 信号可以用来修改给定材质的特定属性。这为创造材质效果提供了全新的可能性,否则就无法实现。