Skip to content

Add support for MOZ_lightmaps and Blender 2.83

Compare
Choose a tag to compare
@netpro2k netpro2k released this 10 Jun 20:33
· 1214 commits to master since this release
60abe2e

This adds support for MOZ_lightmap exporting and upgrades to be compatible with Blender 2.83 (it is NOT backwards compatible with 2.82, or more specifically the GLTF addon that ships with 2.82)

image

To export a lightmap, create a MOZ_lightamp node from the Add > Hubs menu and hook up a image texture to the Lightmap input. Use a UV Map node to control what UV set should be used for the lightmap, as you would any other texture in Blender.

image

Note that fore use in Hubs, you currently MUST use the second UV set, as ThreeJS is currently hardcoded to use that for lightmaps. This will likely be fixed in the future so the exporter does not enforce this.

image