- Home /
Huge Lightmaps
I just baked my scene and there's apparently 130 1024 1024 lightmaps, totaling 140MB of VRAM! (And this is supposed to be a mobile game!)
Can someone tell me what I need to do to reduce this?
$$anonymous$$ainly just curious if I can compress the textures, if there's any settings I can tweak, or if it's an inherent problem with the level design?
Answer by shaystibelman · May 11, 2012 at 10:01 AM
One solution might a too high texels per world unit count, which you modify under the lightmap window, at the bottom. check out the documents here.
Another solution could be the Scale in lightmap count, which is in the lightmap window but in the object tab.
A third solution could be, but this is farfetched, since I haven't seen your scene, that you have lots and lots of objects in your scene. Remember that Beast renders each object for itself, even if it's an instance of a prefab. My solution to that is to disable all the prefab instances, except for one, and launch the baking. Afterwards, re-enable the instances and revert them to the baked prefab state.
Hope that was useful (and not too late)
Thanks, the information is helpful.
The solution I ended up in is using a unity plugin called Batching Tools, which batches all my objects into a single object, resulting in a single lightmap. :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613064748im_/https://answers.unity.com/themes/thub/images/avi.jpg)