typo fix in graphics settings
This commit is contained in:
@@ -73,7 +73,7 @@ public:
|
||||
/// If checked, Environment Probes will use HDR texture format. Improves quality in very bright scenes at cost of higher memory usage.
|
||||
/// </summary>
|
||||
API_FIELD(Attributes = "EditorOrder(1502), EditorDisplay(\"Quality\")")
|
||||
bool UeeHDRProbes = false;
|
||||
bool UseHDRProbes = false;
|
||||
|
||||
/// <summary>
|
||||
/// If checked, enables Global SDF rendering. This can be used in materials, shaders, and particles.
|
||||
|
||||
@@ -204,7 +204,7 @@ int32 ProbesRenderer::Entry::GetResolution() const
|
||||
|
||||
PixelFormat ProbesRenderer::Entry::GetFormat() const
|
||||
{
|
||||
return GraphicsSettings::Get()->UeeHDRProbes ? PixelFormat::R11G11B10_Float : PixelFormat::R8G8B8A8_UNorm;
|
||||
return GraphicsSettings::Get()->UseHDRProbes ? PixelFormat::R11G11B10_Float : PixelFormat::R8G8B8A8_UNorm;
|
||||
}
|
||||
|
||||
int32 ProbesRenderer::GetBakeQueueSize()
|
||||
|
||||
Reference in New Issue
Block a user