Hi everyone,
I know many developers use Unity as a content preparation tool while targeting Three.js and WebGL applications. I thought this workflow might be useful for that use case.
The new AO Lightmapper Unity Extension is essentially a bridge between Unity and the AO Lightmapper CLI Headless version. Unity acts as the frontend workflow, while AO Lightmapper performs the actual AO generation, optimization, UV processing, texture conversion, and export operations using the same core pipeline available in the desktop application.
The Unity Extension is compatible with AO Lightmapper v1.3.9 or newer, which is available on both Itch.io and Gumroad.
A ready-to-install UnityPackage is also included, making installation and integration into existing Unity projects quick and straightforward.
This means assets processed through Unity benefit from the same AO Lightmapper features and optimizations that many ThreeJS users are already familiar with, while providing a streamlined workflow directly inside the Unity Editor.
Simple Workflow
-
Add a component to one or multiple GameObjects, Meshes, or Prefabs.
-
Launch the process directly from Unity.
-
AO Lightmapper CLI Headless processes the assets automatically.
-
The optimized assets are imported back into Unity.
Full AO Lightmapper Pipeline Inside Unity
The extension leverages the main AO Lightmapper features, including:
-
GPU-accelerated AO generation
-
Automatic UV2 generation
-
Mesh optimization
-
Draco compression
-
Meshopt compression
-
KTX2 texture conversion
-
Prune / Clean optimization
-
Texture optimization
-
Batch processing
-
Export optimization settings
Multiple Assets at Once
The extension supports processing multiple meshes or prefabs simultaneously.
Simply add the component to the desired objects and AO Lightmapper handles the rest automatically.
Flexible Asset Replacement
Once processing is complete, you can choose to:
-
Add the optimized model directly into the scene while keeping the original object disabled.
-
Replace and remove the original object automatically.
-
Keep both versions for comparison and testing.
Material Preservation
One of the main goals was preserving existing workflows.
The extension keeps the original materials and automatically assigns the generated Ambient Occlusion texture to the appropriate material slot.
This allows immediate visual improvements without rebuilding materials or manually reconnecting textures.
Why AO Instead of Traditional Lightmaps?
Traditional lightmapping often requires scene setup, lighting configuration, baking iterations, and additional maintenance.
For many assets such as props, modular kits, environment pieces, and reusable models, AO maps provide:
-
Faster generation times
-
No scene lighting setup
-
No lightmap management
-
Better asset portability
-
Easier iteration during development
About AO Lightmapper
AO Lightmapper is a standalone GPU-accelerated Ambient Occlusion baker supporting GLB and FBX assets with automatic UV generation, advanced material support, asset optimization tools, and export workflows for Babylon.js, Three.js, Unity, and other real-time 3D pipelines.
I’d love to hear your thoughts and feedback!
Project:

