r.Shadow.LODDistanceFactor.CascadeScale
r.Shadow.LODDistanceFactor.CascadeScale
#Overview
name: r.Shadow.LODDistanceFactor.CascadeScale
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Multiplier for LOD selection distance when rendering regular shadows (scales with cascade index)
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/ShadowDepthRendering.cpp:60
Scope: file
Source code excerpt:
static float GShadowLODDistanceFactorCascadeScale = 0.0f;
static FAutoConsoleVariableRef CVarShadowScreenMultipleCascadeScale(
TEXT("r.Shadow.LODDistanceFactor.CascadeScale"),
GShadowLODDistanceFactorCascadeScale,
TEXT("Multiplier for LOD selection distance when rendering regular shadows (scales with cascade index)"),
ECVF_RenderThreadSafe);
static float GFarShadowLODDistanceFactor = 1;
static FAutoConsoleVariableRef CVarFarShadowScreenMultiple(