Add GIProbesSpacing and GlobalSurfaceAtlasResolution to global Graphics for runtime editing
#4001
This commit is contained in:
@@ -25,7 +25,9 @@ float Graphics::ShadowUpdateRate = 1.0f;
|
||||
bool Graphics::AllowCSMBlending = false;
|
||||
Quality Graphics::GlobalSDFQuality = Quality::High;
|
||||
Quality Graphics::GIQuality = Quality::High;
|
||||
float Graphics::GIProbesSpacing = 100;
|
||||
bool Graphics::GICascadesBlending = false;
|
||||
int32 Graphics::GlobalSurfaceAtlasResolution = 2048;
|
||||
PostProcessSettings Graphics::PostProcessSettings;
|
||||
bool Graphics::GammaColorSpace = true;
|
||||
bool Graphics::SpreadWorkload = true;
|
||||
@@ -76,7 +78,9 @@ void GraphicsSettings::Apply()
|
||||
Graphics::AllowCSMBlending = AllowCSMBlending;
|
||||
Graphics::GlobalSDFQuality = GlobalSDFQuality;
|
||||
Graphics::GIQuality = GIQuality;
|
||||
Graphics::GIProbesSpacing = GIProbesSpacing;
|
||||
Graphics::GICascadesBlending = GICascadesBlending;
|
||||
Graphics::GlobalSurfaceAtlasResolution = GlobalSurfaceAtlasResolution;
|
||||
Graphics::PostProcessSettings = ::PostProcessSettings();
|
||||
Graphics::PostProcessSettings.BlendWith(PostProcessSettings, 1.0f);
|
||||
Graphics::GammaColorSpace = GammaColorSpace;
|
||||
|
||||
Reference in New Issue
Block a user