Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user