Don't save the lm_ao and lm_bounce CVARs as they're meant to be used during the baking step only, on top of being too slow for realtime use.

This commit is contained in:
nashmuhandes 2024-12-21 18:57:20 +08:00
commit 22eb817db1

View file

@ -26,9 +26,9 @@ CVAR(Int, lm_max_updates, 128, CVAR_NOSAVE);
CVAR(Float, lm_scale, 1.0, CVAR_NOSAVE);
CVAR(Bool, lm_sunlight, true, CVAR_ARCHIVE);
CVAR(Bool, lm_blur, true, CVAR_ARCHIVE);
CVAR(Bool, lm_ao, false, CVAR_ARCHIVE);
CVAR(Bool, lm_ao, false, CVAR_NOSAVE);
CVAR(Bool, lm_softshadows, true, CVAR_ARCHIVE);
CVAR(Bool, lm_bounce, false, CVAR_ARCHIVE);
CVAR(Bool, lm_bounce, false, CVAR_NOSAVE);
CVAR(Bool, lm_dynamic, true, CVAR_ARCHIVE);
VkLightmapper::VkLightmapper(VulkanRenderDevice* fb) : fb(fb)