This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and 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
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
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 Bevel state enabled.
The screen-space bevel effect uses additional geometry buffer (Rendering -> Buffers -> Additional Features) that stores the intensity of the bevels. If the buffer is disabled, the bevels won't be rendered.

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 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.

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

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).

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 Bevel state 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 Rendering -> Buffers -> Additional Features buffer so that the bevels are rendered.
  2. Enable the Bevel state 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.
    • Via the Menu Bar: go to the Rendering -> Features and choose SSBevel.
  4. In the Render Settings window, specify the global bevel settings described above.
  5. In the material settings (the Parameters window), specify the bevel texture, UV coordinates transformation or triplanar blending factor, scale for the bevel radius.
Last update: 2018-06-04
Build: ()