This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
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
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

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
Notice
Settings are applied to materials with the SSBevel state enabled.
Enabled The value indicating if the Screen-Space Bevels (SSBevel effect) are enabled. Enabled by default.
Console access: render_ssbevel
Mode The rendering mode of the screen-space bevels. The following modes are available:
  • Better Edges smoothes 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 smoothes 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.
To use this option, rendering of SSBevel should be enabled. Option #1 is selected by default (see above).
Console access: render_ssbevel_vertex_normal

Quality The quality mode for the screen-space bevels. One of the following values:
  • Low - low quality
  • Medium - medium quality (by default)
  • High - high quality
  • Ultra - ultra quality

Console access: render_ssbevel_quality

Radius The size of the Screen-Space Bevel effect. To use this option, rendering of SSBevelshould be enabled.
Range of values: [0.0f, inf]. The default value is 0.01f.
Console access: render_ssbevel_radius
Noise The value indicating if the noise is enabled for smoothing bevels. 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). To use this option, rendering of SSBevel should be enabled. Enabled by default.
Console access: render_ssbevel_noise

Notice
To debug rendering of bevels, you can use the debug_bevel debug material or enable the bevel rendering buffer via 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.

To set up bevels for a specific material, perform the following:

  1. Enable the Procedural Effects option of the target material.
  2. Enable the SSBevel option of the target material.
  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.
    • In the Main Menu select Rendering -> Features and choose SSBevel.
  4. In the Render Settings window, specify the global SSBevel settings described above.
  5. In the material settings (the Parameters window), specify the procedural texture, UV coordinates transformation or triplanar blending factor, scale for the bevel radius.
Last update: 2021-12-13
Build: ()