From 0df775fea47948eddc4d435ec87b22c1e84af489 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 28 Apr 2026 03:28:46 +0200 Subject: [PATCH] Add support and label formatting for dynamic global illumination quality --- src/app/App.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 705450b6..b573ca12 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -179,6 +179,7 @@ import { type FaceUvState } from "../document/brushes"; import { + ADVANCED_RENDERING_DYNAMIC_GLOBAL_ILLUMINATION_QUALITIES, ADVANCED_RENDERING_WATER_REFLECTION_MODES, BOX_VOLUME_RENDER_PATHS, ADVANCED_RENDERING_SHADOW_MAP_SIZES, @@ -196,6 +197,7 @@ import { type AdvancedRenderingSettings, type BoxVolumeRenderPath, type AdvancedRenderingWaterReflectionMode, + type AdvancedRenderingDynamicGlobalIlluminationQuality, type AdvancedRenderingShadowMapSize, type AdvancedRenderingShadowType, type AdvancedRenderingToneMappingMode, @@ -2143,6 +2145,17 @@ function formatAdvancedRenderingToneMappingLabel( } } +function formatAdvancedRenderingDynamicGlobalIlluminationQualityLabel( + quality: AdvancedRenderingDynamicGlobalIlluminationQuality +): string { + switch (quality) { + case "low": + return "Low"; + case "medium": + return "Medium"; + } +} + function formatAdvancedRenderingWaterReflectionModeLabel( mode: AdvancedRenderingWaterReflectionMode ): string {