Skip to Content
Engine User Settings

Shadows

Shadow map resolution, shadow distance, cascades, contact shadows and Virtual Shadow Map settings.

Static nodes, applied immediately, saved and reapplied at startup. Use Set Shadow Method to switch between shadow maps and Virtual Shadow Maps.

Set Shadow Resolution

Maximum shadow map size in texels (128..8192), for regular and cascaded shadow maps. 1024 is a good low setting.

Function node: Set Shadow Resolution
Set Shadow ResolutionTarget is Engine User Settings Subsystem
Max Resolution0

Get Shadow Resolution

Returns the value in effect. See Set Shadow Resolution.

Pure function node: Get Shadow Resolution
Get Shadow ResolutionTarget is Engine User Settings Subsystem
Return Value

Set Shadow Distance Scale

Directional light shadow distance multiplier (0.1..2, 1 = project default). Lower is faster.

Function node: Set Shadow Distance Scale
Set Shadow Distance ScaleTarget is Engine User Settings Subsystem
Scale0.0

Get Shadow Distance Scale

Returns the value in effect. See Set Shadow Distance Scale.

Pure function node: Get Shadow Distance Scale
Get Shadow Distance ScaleTarget is Engine User Settings Subsystem
Return Value

Set Shadow Cascades

Cascaded shadow map cascades for the directional light (1..10). Each cascade re-renders the scene.

Function node: Set Shadow Cascades
Set Shadow CascadesTarget is Engine User Settings Subsystem
Cascades0

Get Shadow Cascades

Returns the value in effect. See Set Shadow Cascades.

Pure function node: Get Shadow Cascades
Get Shadow CascadesTarget is Engine User Settings Subsystem
Return Value

Set Contact Shadows Enabled

Screen space contact shadows (small detail shadows).

Function node: Set Contact Shadows Enabled
Set Contact Shadows EnabledTarget is Engine User Settings Subsystem
Enabled

Is Contact Shadows Enabled

Returns the value in effect. See Set Contact Shadows Enabled.

Pure function node: Is Contact Shadows Enabled
Is Contact Shadows EnabledTarget is Engine User Settings Subsystem
Return Value

Set Virtual Shadow Map Resolution Bias

Virtual shadow map resolution bias (-2..4): 0 = full resolution, 1 = half, 2 = quarter; negative is sharper and slower. Applied to directional and local lights.

Function node: Set Virtual Shadow Map Resolution Bias
Set Virtual Shadow Map Resolution BiasTarget is Engine User Settings Subsystem
Bias0.0

Get Virtual Shadow Map Resolution Bias

Returns the value in effect. See Set Virtual Shadow Map Resolution Bias.

Pure function node: Get Virtual Shadow Map Resolution Bias
Get Virtual Shadow Map Resolution BiasTarget is Engine User Settings Subsystem
Return Value

Set Virtual Shadow Map Cache Enabled

Virtual shadow map page caching (reuses static shadows between frames). Keep it on unless debugging.

Function node: Set Virtual Shadow Map Cache Enabled
Set Virtual Shadow Map Cache EnabledTarget is Engine User Settings Subsystem
Enabled

Is Virtual Shadow Map Cache Enabled

Returns the value in effect. See Set Virtual Shadow Map Cache Enabled.

Pure function node: Is Virtual Shadow Map Cache Enabled
Is Virtual Shadow Map Cache EnabledTarget is Engine User Settings Subsystem
Return Value
Edit on GitHub

On this page