置换着色器节点

置换着色器节点。

"位移* 节点用于沿曲面法线置换曲面,以向几何图形添加更多细节。可以使用进程纹理和烘焙置换贴图。

For best results the mesh must be subdivided finely to bring out the detail in the displacement texture.

It is also possible to use the displacement as bump mapping only by changing the material settings, so that no high resolution mesh is needed.

See also

请参阅 置换着色器 ,以了解有关置换工作流程的更多详细信息。

输入

高度

沿法线移动表面的距离。这是纹理节点可以连接的地方。

中间值

中性置换不会导致置换。使用默认值0.5时,任何较低的值都会导致曲面向内推,而任何较高的值都会将曲面向外推。

比例|缩放

增加或减少置换量。

法向

标准法向输入。

属性

空间

物体空间表示与物体一起的置换缩放值。使用世界空间时,将忽略物体比例。

输出

置换

置换偏移量须连接到 材料输出 接口中。

示例

../../../_images/render_materials_components_displacement_example.jpg

左:仅凸凹效果,中:仅置换效果,右:凸凹与置换混合效果。