Added toggle for lm_dynamic

This commit is contained in:
Boondorl 2024-11-02 02:26:06 -04:00 committed by Magnus Norddahl
commit 57202305d6
6 changed files with 9 additions and 7 deletions

View file

@ -54,7 +54,7 @@ struct LightmapTile
// True if the tile needs to be rendered into the lightmap texture before it can be used
bool NeedsUpdate = true;
bool AlwaysUpdate = false;
uint8_t AlwaysUpdate = 0;
FVector2 ToUV(const FVector3& vert) const
{

View file

@ -29,6 +29,7 @@ CVAR(Bool, lm_blur, true, CVAR_ARCHIVE);
CVAR(Bool, lm_ao, false, CVAR_ARCHIVE);
CVAR(Bool, lm_softshadows, true, CVAR_ARCHIVE);
CVAR(Bool, lm_bounce, false, CVAR_ARCHIVE);
CVAR(Bool, lm_dynamic, true, CVAR_ARCHIVE);
VkLightmapper::VkLightmapper(VulkanRenderDevice* fb) : fb(fb)
{