Switch Child Lightmap Mode
Menu Path: Right-click MeshRenderer > LogicCuteGuy > Switch Child Lightmap Mode...
This utility allows for rapid high-level lighting strategy changes. You can instantly toggle a large hierarchy between using baked lightmaps or relying on light probes.
Features
- Mode Switching: Toggle between
Lightmap(Baked) andLight Probes(Realtime/Probe Lit). - Static Flag Automation: Automatically enables/disables the
Contribute GIstatic flag on GameObjects to match the chosen lighting mode. - Unified Property Control: Sets
receiveGIto eitherLightmapsorLightProbesand toggleslightProbeUsage. - Lightmap Scale Control: Optional override to set the
Scale In Lightmapproperty during the switch (e.g., set to 1.0 when lightmapping, and 0.0 when probe-lit to save atlas space). - Recursive Processing: Apply to selected objects only, or recursively to all children (including inactive ones if toggled).
How to Use
- Right-click any MeshRenderer in the Hierarchy or open from the LogicCuteGuy menu.
- Select your target Lighting Mode.
- (Optional) Check Set Scale In Lightmap to enforce specific densities during the switch.
- Click Apply To Target Or Selected.
[!IMPORTANT] This tool modifies
StaticEditorFlags. Ensure you are in a state where modifying static flags is safe for your scene architecture.