lightprobe-bake
Bake light probe data and lightmaps in Unity scenes to optimize lighting for static objects. Configure lights to Baked or Mixed mode before baking, then verify results with analysis tools.
Instructions
Trigger light baking in the current scene. Bakes Light Probe data (and Lightmaps if static objects exist). Make sure lights are set to Baked or Mixed mode before baking (use 'lightprobe-configure-lights' to configure). Use 'lightprobe-analyze' and console-get-logs to verify results after baking completes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async | No | If true, bake asynchronously (non-blocking). If false, bake synchronously (blocks editor until done). | true |
| enableBakedGI | No | Enable Baked Global Illumination in Lighting Settings. | true |
| enableRealtimeGI | No | Enable Realtime Global Illumination in Lighting Settings (Enlighten). Usually not needed with Baked GI. | false |