置换着色器节点

../../../_images/render_shader-nodes_vector_displacement_node.png

置换着色器节点。

The Displacement node is used to displace the surface along the surface normal, to add more detail to the geometry. Both procedural textures and baked displacement maps can be used.

为获得最佳效果,必须精细细分网格以显示置换纹理中的细节。

也可以仅通过改变材料设置将置换用作凹凸贴图,从而不需要高分辨率网格。

See also

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

输入选项

高度

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

中间值

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

缩放

增加或减少置换量。

法向(正常)

标准法向输入。

属性

间隔

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

输出选项

置换

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

举例

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

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