Merge pull request #106907 from SpockBauru/fix-mobile-lightmap-instances
Vulkan Mobile: Fix lightmap instances count
This commit is contained in:
commit
da05a6b775
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue