x


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?

more ▼

asked Mar 04 '12 at 10:01 PM

Essential gravatar image

Essential
480 48 65 79

Mainly 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?

Mar 05 '12 at 05:43 PM Essential
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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)

more ▼

answered May 11 '12 at 10:01 AM

shaystibelman gravatar image

shaystibelman
242 11 15 21

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. :)

May 11 '12 at 02:18 PM Essential
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x37
x27

asked: Mar 04 '12 at 10:01 PM

Seen: 753 times

Last Updated: May 11 '12 at 02:18 PM