diff options
author | BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com> | 2024-07-11 23:42:52 +0200 |
---|---|---|
committer | BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com> | 2024-07-13 13:10:04 +0200 |
commit | 60a255a0d06d723a4143f5dc526b6251518c4750 (patch) | |
tree | 84d8761e9690d5cae0ddba166f4d28ef0b0e6150 /doc/classes/LightmapGI.xml | |
parent | 14877d1f99ba0907fab3706ea6bfda02eb46feb0 (diff) | |
download | redot-engine-60a255a0d06d723a4143f5dc526b6251518c4750.tar.gz |
Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas
Diffstat (limited to 'doc/classes/LightmapGI.xml')
-rw-r--r-- | doc/classes/LightmapGI.xml | 6 |
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> |