summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-07-18 10:45:33 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-07-18 10:45:33 +0200
commit43902f43d5fd65744465b79c8733ae53372490ac (patch)
tree64b61bb3399431c28d9541eca5b82d60da837dcf /doc/classes
parentde27d3a7fc13b37004e4e37c4b3a3db080c5a759 (diff)
parent60a255a0d06d723a4143f5dc526b6251518c4750 (diff)
downloadredot-engine-43902f43d5fd65744465b79c8733ae53372490ac.tar.gz
Merge pull request #94237 from BlueCube3310/lightmap-atlas-loop-fix-always
Lightmapper: Prevent infinite loop while blitting lightmaps into an atlas
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/LightmapGI.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/LightmapGI.xml b/doc/classes/LightmapGI.xml
index 6fb15e4d21..e7d44411ef 100644
--- a/doc/classes/LightmapGI.xml
+++ b/doc/classes/LightmapGI.xml
@@ -137,6 +137,12 @@
<constant name="BAKE_ERROR_TEXTURE_SIZE_TOO_SMALL" value="9" enum="BakeError">
Lightmap baking failed as the maximum texture size is too small to fit some of the meshes marked for baking.
</constant>
+ <constant name="BAKE_ERROR_LIGHTMAP_TOO_SMALL" value="10" enum="BakeError">
+ Lightmap baking failed as the lightmap is too small.
+ </constant>
+ <constant name="BAKE_ERROR_ATLAS_TOO_SMALL" value="11" enum="BakeError">
+ Lightmap baking failed as the lightmap was unable to fit into an atlas.
+ </constant>
<constant name="ENVIRONMENT_MODE_DISABLED" value="0" enum="EnvironmentMode">
Ignore environment lighting when baking lightmaps.
</constant>