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.
Get Shadow Resolution
Returns the value in effect. See Set Shadow Resolution.
Set Shadow Distance Scale
Directional light shadow distance multiplier (0.1..2, 1 = project default). Lower is faster.
Get Shadow Distance Scale
Returns the value in effect. See Set Shadow Distance Scale.
Set Shadow Cascades
Cascaded shadow map cascades for the directional light (1..10). Each cascade re-renders the scene.
Get Shadow Cascades
Returns the value in effect. See Set Shadow Cascades.
Set Contact Shadows Enabled
Screen space contact shadows (small detail shadows).
Is Contact Shadows Enabled
Returns the value in effect. See Set Contact Shadows Enabled.
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.
Get Virtual Shadow Map Resolution Bias
Returns the value in effect. See Set Virtual Shadow Map Resolution Bias.
Set Virtual Shadow Map Cache Enabled
Virtual shadow map page caching (reuses static shadows between frames). Keep it on unless debugging.
Is Virtual Shadow Map Cache Enabled
Returns the value in effect. See Set Virtual Shadow Map Cache Enabled.