倒角节点#

仅限 Cycles

倒角节点。

倒角 着色器节点可用于渲染圆角。与凹凸贴图类似,它只影响着色不修改几何体网格。边缘上轻微的圆角有助于实现真实世界中的镜面高光效果。

Note that this is a very expensive shader, and may slow down renders by 20% even if there is a lot of other complexity in the scene. For that reason, we suggest to mainly use this for baking or still frame renders where render time is not as much of an issue. The 倒角修改器 is a faster option when it works, but sometimes fails on complex or messy geometry.

Note

如有以下情形,倒角节点将不能产生有效结果:

输入#

半径

边缘上倒角的宽度。

法向

Normal to apply bevel on top of, to be combined with a 凸凹着色器节点 for example. When not connected, uses the surface normal.

属性#

采样

着色器的采样数。更大的采样数可以提供更准确的结果,但渲染速度也较慢。默认值为4,适用于大多数情况。通过使用更多AA样本来解决所有的噪点。

输出#

法向

标准的法向输出。

示例#

../../../_images/render_shader-nodes_input_bevel_example_setup.jpg

用于使用倒角节点的最小节点设置。#

../../../_images/render_shader-nodes_input_bevel_example.jpg

倒角着色器可在边缘处显示出镜面高光效果。#