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.

Shadows

This section contains settings of scene shadows.

Shadows Settings
Enabled The value indicating whether shadows are rendered or not. Enabled by default.
Console access: render_shadows
Filter Mode The global filtering mode to be used for shadows from all light sources by default. This mode determines quality of soft shadows. Higher quality produces smoother shadow edges. When disabled, no filtering is performed and the stair-step effect is clearly seen at the edges of shadows.
Notice
You can set filtering mode or disable filtering for each light source individually.
One of the following values:
  • Disabled
  • Low
  • Medium (by default)
  • High
  • Ultra

Console access: render_shadows_filter_mode

Filter Noise The value indicating if noise for shadow filtering is enabled. This noise is used for smoothing. Enabled by default.
Console access: render_shadows_filter_noise

Penumbra Mode The global quality mode to be used for rendering penumbra from all light sources by default. This mode enables simulation of real-world shadows by keeping sharp contact shadows closer to the base and softening the farther the shadow stretches away. Higher values produce softer shadows. When disabled, shadow edges are crisp and sharp (no shadow softness at all).
Notice
You can set penumbra quality mode or disable penumbra rendering for each light source individually.
One of the following values:
  • Disabled
  • Low (by default)
  • Medium
  • High
  • Ultra

Console access: render_shadows_penumbra_mode

Penumbra Noise The value indicating if noise for penumbra rendering is enabled. This noise is used for smoothing. Enabled by default.
Console access: render_shadows_penumbra_noise

Translucent Depth The global translucence depth value defining how deep the light goes through translucent objects shifting the shadow. The higher the value, the deeper the light penetrates translucent objects shifting the shadow.
Range of values: [0.0f, inf]. The default value is 0.1f.
Console access: render_shadows_translucent_depth
Translucent Depth = 0.06
Translucent Depth = 0.4
Lerp Shadow Cascades The value indicating if linear interpolation of shadow cascades is enabled, making transitions between cascades smoother. This option significantly affects performance, as 2 shadow maps are rendered in transition areas. Enabled by default.
Console access: render_shadows_world_lerp_cascades
Screen Space Shadows The value indicating if screen space shadows are enabled. They provide high-quality penumbra, per-light work, per-pixel detail at any zoom level and infinite visibility distance (when enabled, distant objects can cast shadows next to the horizon). Supports depth cutout parallax. Screen space shadows can be mixed with regular ones. Enabled by default.
Console access: render_shadows_screen_space
Alpha Test Accounting The value indicating if alpha test is enabled for shadows. Enabled by default.
Console access: render_shadows_alpha_test
Distance The distance from the camera, beyond which shadows will not be rendered.
Notice
If this value is greater than the visibility distance for objects the shadows will still be rendered even though the objects themselves are not. Please, pay attention to setting these parameters properly to avoid wasting performance on rendering unnecessary shadows.

Range of values: [0.0f, inf]. The default value is 100.0f.
Console access: render_shadow_distance
Shadow distance
Distance = 1200 units
Shadow distance
Distance = 80 units
Distance Scale The global scale multiplier for shadow distances. This option enables you to easily increase or decrease shadows rendering performance by changing the scale.
Notice
If this value is greater than the scale multiplier for objects, the shadows will still be rendered even though the objects themselves are not. Please, make sure you set these parameters properly to avoid wasting performance on rendering unnecessary shadows.

Range of values: [0.0f, inf]. The default value is 1.0f.
Console access: render_shadow_distance_scale
Last update: 2021-12-13
Build: ()