TL;DR
What call is there for an asset that restores dynamic batching to lightmapped objects?
(or does something already do this job?)
Details…
Dynamic Batching is great (provided one fulfils all the requirements). Lightmapping is great. When one lightmaps objects (in Unity) that are dynamically batched, they stop being dynamically batched.
It’s possible to restore dynamic batching for these objects with some hackery-pokery.
Before (note Draw Calls: 5, Saved by batching: 0)
After (note Draw Calls: 2, Saved by batching: 3)
Would this be valuable? Does something already do this? Are there reasons against doing it? EDIT: This works with Unity Indie.
(I’m considering whether it’s worth investing time in making an asset.)
Would the following limitations seem reasonable:
- Only certain default shaders supported + more on demand + instructions supplied on how to update your own shader code.
- Need to press a button before re-lightmapping or updating models (unless I can find a good hook to inform when customizations need undoing)
- Possibly other stuff I haven’t thought of yet?
Thanks for your feedback!