Values
Ok
Baking was successful.
NoSavePath
Returns if no viable save path is found. This can happen where an godot.BakedLightmap.imagePath
is not specified or when the save location is invalid.
NoMeshes
Currently unused.
CantCreateImage
Returns when the baker cannot save per-mesh textures to file.
LightmapSize
The size of the generated lightmaps is too large.
InvalidMesh
Some mesh contains UV2 values outside the [0,1]
range.
UserAborted
Returns if user cancels baking.
NoLightmapper
Returns if lightmapper can't be created. Unless you are using a custom lightmapper, please report this as bug.
NoRoot
There is no root node to start baking from. Either provide from_node
argument or attach this node to a parent that should be used as root.