This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
UnigineEditor
界面概述
资产工作流程
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm (Experimental)
使用编辑器工具执行特定任务
Extending Editor Functionality
嵌入式节点类型
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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 Toggles bevels on and off.

切换斜角的打开和关闭。

Mode Sets the mode of the screen-space bevels rendering. Available values:
  • Better Edges — smooths vertex and surface normals of the object. In this mode, the relief created by using Normal Mapping will be smoothed along with the mesh edges.Better Edges — smooths vertex and surface normals of the object. In this mode, the relief created by using Normal Mapping will be smoothed along with the mesh edges.
  • Better Normals — smooths only vertex normals. In this mode, only edges of the mesh geometry will be bevelled. The mode may produce visual artifacts on the edges. However, they can be reduced by increasing quality settings of anti-aliasing.Better Normals — smooths only vertex normals. In this mode, only edges of the mesh geometry will be bevelled. The mode may produce visual artifacts on the edges. However, they can be reduced by increasing quality settings of anti-aliasing.

Better Edges — smooths vertex and surface normals of the object. In this mode, the relief created by using Normal Mapping will be smoothed along with the mesh edges.Better Normals — smooths only vertex normals. In this mode, only edges of the mesh geometry will be bevelled. The mode may produce visual artifacts on the edges. However, they can be reduced by increasing quality settings of anti-aliasing.
设置屏幕空间斜角渲染的模式。可用值:
  • Better Edges — smooths vertex and surface normals of the object. In this mode, the relief created by using Normal Mapping will be smoothed along with the mesh edges. Better Edges —平滑对象的顶点和表面法线。在此模式下,使用法线贴图创建的浮雕将与网格边缘一起平滑。
  • Better Normals — smooths only vertex normals. In this mode, only edges of the mesh geometry will be bevelled. The mode may produce visual artifacts on the edges. However, they can be reduced by increasing quality settings of anti-aliasing. Better Normals —仅平滑顶点法线。在这种模式下,仅将网格几何体的边缘切成斜角。该模式可能会在边缘上产生视觉伪像。但是,可以通过增加 anti-aliasing 的质量设置来减少它们。

Quality Quality of the screen-space bevels:
  • Low — low quality.Low — low quality.
  • Medium — medium quality.Medium — medium quality.
  • High — high quality.High — high quality.
  • Ultra — ultra quality.Ultra — ultra quality.

Low — low quality.Medium — medium quality.High — high quality.Ultra — ultra quality.
屏幕空间斜角的质量:
  • Low — low quality. Low — 低质量.
  • Medium — medium quality. Medium — 中等质量.
  • High — high quality. High — 高质量.
  • Ultra — ultra quality. Ultra — 超品质.

Radius The size of the screen-space bevel effect.屏幕空间斜角效果的大小。
Noise Toggles the noise that allows smoothing bevels on and off. It is recommended to use the noise with TAA enabled to avoid visual artifacts. The bevel noise is applied at a certain distance from the camera (i.e. if the camera is too far from the object with bevels, the noise won't be applied).

切换允许平滑斜角打开和关闭的噪声。建议在启用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
最新更新: 2020-11-24
Build: ()