r.HairStrands.DeepShadow.ShadowMaskPassType
r.HairStrands.DeepShadow.ShadowMaskPassType
#Overview
name: r.HairStrands.DeepShadow.ShadowMaskPassType
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Change how shadow mask from hair onto opaque geometry is generated. 0: one pass per hair group, 1: one pass for all groups.
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/HairStrands/HairStrandsTransmittance.cpp:51
Scope: file
Source code excerpt:
static int32 GHairStrandsShadow_ShadowMaskPassType = 1;
static FAutoConsoleVariableRef CVarHairStrandsShadow_ShadowMaskPassType(TEXT("r.HairStrands.DeepShadow.ShadowMaskPassType"), GHairStrandsShadow_ShadowMaskPassType, TEXT("Change how shadow mask from hair onto opaque geometry is generated. 0: one pass per hair group, 1: one pass for all groups."), ECVF_Scalability | ECVF_RenderThreadSafe);
static float GetDeepShadowDensityScale() { return FMath::Max(0.0f, GDeepShadowDensityScale); }
static float GetDeepShadowDepthBiasScale() { return FMath::Max(0.0f, GDeepShadowDepthBiasScale); }
///////////////////////////////////////////////////////////////////////////////////////////////////
enum class EHairTransmittancePassType : uint8