NumImportanceSearchPhotonsScale
NumImportanceSearchPhotonsScale
#Overview
name: NumImportanceSearchPhotonsScale
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:230, section: [DevOptions.StaticLightingMediumQuality]
- INI Section:
DevOptions.StaticLightingMediumQuality - Raw value:
1 - Is Array:
False
Location: <Workspace>/Engine/Config/BaseLightmass.ini:250, section: [DevOptions.StaticLightingHighQuality]
- INI Section:
DevOptions.StaticLightingHighQuality - Raw value:
2 - Is Array:
False
Location: <Workspace>/Engine/Config/BaseLightmass.ini:270, section: [DevOptions.StaticLightingProductionQuality]
- INI Section:
DevOptions.StaticLightingProductionQuality - Raw value:
3 - 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:2444
Scope (from outer to inner):
file
function void FLightmassExporter::WriteSceneSettings
Source code excerpt:
Scene.ImportanceTracingSettings.NumHemisphereSamples = FMath::TruncToInt(Scene.ImportanceTracingSettings.NumHemisphereSamples * NumHemisphereSamplesScale);
float NumImportanceSearchPhotonsScale;
VERIFYLIGHTMASSINI(GConfig->GetFloat(QualitySectionNames[QualityLevel], TEXT("NumImportanceSearchPhotonsScale"), NumImportanceSearchPhotonsScale, GLightmassIni));
Scene.PhotonMappingSettings.NumImportanceSearchPhotons = FMath::TruncToInt(Scene.PhotonMappingSettings.NumImportanceSearchPhotons * NumImportanceSearchPhotonsScale);
float NumDirectPhotonsScale;
VERIFYLIGHTMASSINI(GConfig->GetFloat(QualitySectionNames[QualityLevel], TEXT("NumDirectPhotonsScale"), NumDirectPhotonsScale, GLightmassIni));
Scene.PhotonMappingSettings.DirectPhotonDensity = Scene.PhotonMappingSettings.DirectPhotonDensity * NumDirectPhotonsScale;
Scene.PhotonMappingSettings.DirectIrradiancePhotonDensity = Scene.PhotonMappingSettings.DirectIrradiancePhotonDensity * NumDirectPhotonsScale;