1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #106907 from SpockBauru/fix-mobile-lightmap-instances

Vulkan Mobile: Fix lightmap instances count
This commit is contained in:
Rémi Verschelde
2025-06-12 11:56:32 +02:00

View File

@@ -3339,7 +3339,7 @@ RenderForwardMobile::RenderForwardMobile() {
{
//lightmaps
scene_state.max_lightmaps = 2;
scene_state.max_lightmaps = MAX_LIGHTMAPS;
defines += "\n#define MAX_LIGHTMAP_TEXTURES " + itos(scene_state.max_lightmaps) + "\n";
defines += "\n#define MAX_LIGHTMAPS " + itos(scene_state.max_lightmaps) + "\n";