diff --git a/core/src/main/java/com/seibel/distanthorizons/core/config/eventHandlers/presets/RenderQualityPresetConfigEventHandler.java b/core/src/main/java/com/seibel/distanthorizons/core/config/eventHandlers/presets/RenderQualityPresetConfigEventHandler.java index 4b5068f0e..5b9256fa9 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/config/eventHandlers/presets/RenderQualityPresetConfigEventHandler.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/config/eventHandlers/presets/RenderQualityPresetConfigEventHandler.java @@ -105,6 +105,15 @@ public class RenderQualityPresetConfigEventHandler extends AbstractPresetConfigE this.put(EDhApiQualityPreset.HIGH, true); this.put(EDhApiQualityPreset.EXTREME, true); }}); + private final ConfigEntryWithPresetOptions caveCulling = new ConfigEntryWithPresetOptions<>(Config.Client.Advanced.Graphics.Culling.enableCaveCulling, + new HashMap() + {{ + this.put(EDhApiQualityPreset.MINIMUM, true); + this.put(EDhApiQualityPreset.LOW, true); + this.put(EDhApiQualityPreset.MEDIUM, false); + this.put(EDhApiQualityPreset.HIGH, false); + this.put(EDhApiQualityPreset.EXTREME, false); + }}); @@ -123,6 +132,7 @@ public class RenderQualityPresetConfigEventHandler extends AbstractPresetConfigE this.configList.add(this.ssaoEnabled); this.configList.add(this.vanillaFade); this.configList.add(this.dhDither); + this.configList.add(this.caveCulling); for (ConfigEntryWithPresetOptions config : this.configList)