This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Screen Space Bevel

The section contains settings that control screen-space bevels. Using bevels allows you to create smoothed edges of geometry and gives a realistic look to objects in the scene. 本节包含控制屏幕空间斜角的设置。使用斜角可以创建几何的平滑边缘,并为场景中的对象赋予逼真的外观。

Screen-Space Bevel Settings屏幕空间斜角设置
注意
Settings are applied to materials with the SSBevel state enabled.设置应用于启用了 SSBevel 状态的材质。
Enabled 切换斜角的打开和关闭。

Mode 设置屏幕空间斜角渲染的模式。可用值:
  • Better Edges —平滑对象的顶点和表面法线。在此模式下,使用法线贴图创建的浮雕将与网格边缘一起平滑。
  • Better Normals —仅平滑顶点法线。在这种模式下,仅将网格几何体的边缘切成斜角。该模式可能会在边缘上产生视觉伪像。但是,可以通过增加 anti-aliasing 的质量设置来减少它们。

Quality 屏幕空间斜角的质量:
  • Low — 低质量.
  • Medium — 中等质量.
  • High — 高质量.
  • Ultra — 超品质.

Radius 屏幕空间斜角效果的大小。
Noise 切换允许平滑斜角打开和关闭的噪声。建议在启用TAA的情况下使用噪声,以避免出现视觉伪影。斜角杂讯会在距相机一定距离处应用(即,如果相机离带有斜面的物体太远,则不会应用杂讯)。

注意
To debug rendering of bevels, you can use the debug_bevel debug material or enable the bevel rendering buffer via Rendering Debug -> Bevel.要调试斜角渲染,可以使用 debug_bevel 调试材质或通过Rendering Debug -> Bevel启用斜角渲染缓冲区。

Setting Up Bevels Per Material
每种材质设置斜角#

Screen-space bevels are set up per material. The settings described above allow you to set up bevels for all materials with the SSBevel option enabled. However, you can also set up bevels for each material individually via the Parameters window with material settings. 每种材质都设置了屏幕空间斜角。通过上述设置,您可以在启用了SSBevel选项的情况下为所有材质设置斜角。但是,您还可以使用Parameters window with material settings.

To set up bevels for a specific material, perform the following:要为特定材质设置斜角,请执行以下操作:

  1. Enable the Procedural Effects option of the target material.启用目标材质的Procedural Effects选项。
  2. Enable the SSBevel option of the target material.启用目标材质的SSBevel选项。
  3. Enable the screen-space bevel feature in one of the following ways:
    • Via the Render Settings window: go to the Windows -> Settings -> Runtime -> Render -> SSBevel section and click Enabled.Via the Render Settings window: go to the Windows -> Settings -> Runtime -> Render -> SSBevel section and click Enabled.
    • In the Main Menu select Rendering -> Features and choose SSBevel.In the Main Menu select Rendering -> Features and choose SSBevel.
    Via the Render Settings window: go to the Windows -> Settings -> Runtime -> Render -> SSBevel section and click Enabled.In the Main Menu select Rendering -> Features and choose SSBevel.
    启用通过以下方式之一启用屏幕空间斜角功能:
    • Via the Render Settings window: go to the Windows -> Settings -> Runtime -> Render -> SSBevel section and click Enabled.通过Render Settings窗口:转到Windows -> Settings -> Runtime -> Render -> SSBevel部分,然后单击Enabled
    • In the Main Menu select Rendering -> Features and choose SSBevel.Main Menu中选择Rendering -> Features,然后选择 SSBevel
  4. In the Render Settings window, specify the global SSBevel settings described above.Render Settings窗口中,指定上述全局SSBevel设置
  5. In the material settings (the Parameters window), specify the procedural texture, UV coordinates transformation or triplanar blending factor, scale for the bevel radius.材质设置Parameters窗口)中,指定过程纹理 UV坐标变换三边形混合因子 scale 表示斜角 radius
最新更新: 2023-06-21
Build: ()