DirectPhotonSearchDistanceScale
DirectPhotonSearchDistanceScale
#Overview
name: DirectPhotonSearchDistanceScale
The value of this variable can be defined or overridden in .ini config files. 3
.ini config files referencing this setting variable.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseLightmass.ini:232, section: [DevOptions.StaticLightingMediumQuality]
- INI Section:
DevOptions.StaticLightingMediumQuality
- Raw value:
.5
- Is Array:
False
Location: <Workspace>/Engine/Config/BaseLightmass.ini:252, section: [DevOptions.StaticLightingHighQuality]
- INI Section:
DevOptions.StaticLightingHighQuality
- Raw value:
.5
- Is Array:
False
Location: <Workspace>/Engine/Config/BaseLightmass.ini:273, section: [DevOptions.StaticLightingProductionQuality]
- INI Section:
DevOptions.StaticLightingProductionQuality
- Raw value:
.5
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/Lightmass/Lightmass.cpp:2453
Scope (from outer to inner):
file
function void FLightmassExporter::WriteSceneSettings
Source code excerpt:
Scene.PhotonMappingSettings.DirectIrradiancePhotonDensity = Scene.PhotonMappingSettings.DirectIrradiancePhotonDensity * NumDirectPhotonsScale;
float DirectPhotonSearchDistanceScale;
VERIFYLIGHTMASSINI(GConfig->GetFloat(QualitySectionNames[QualityLevel], TEXT("DirectPhotonSearchDistanceScale"), DirectPhotonSearchDistanceScale, GLightmassIni));
Scene.PhotonMappingSettings.DirectPhotonSearchDistance = Scene.PhotonMappingSettings.DirectPhotonSearchDistance * DirectPhotonSearchDistanceScale;
float NumIndirectPhotonPathsScale;
VERIFYLIGHTMASSINI(GConfig->GetFloat(QualitySectionNames[QualityLevel], TEXT("NumIndirectPhotonPathsScale"), NumIndirectPhotonPathsScale, GLightmassIni));
Scene.PhotonMappingSettings.IndirectPhotonPathDensity = Scene.PhotonMappingSettings.IndirectPhotonPathDensity * NumIndirectPhotonPathsScale;
float NumIndirectPhotonsScale;