All lightmaps are 1024 x 1024

Hi - I can’t seem to find an answer to this anywhere else online so I figured I’d ask here. Ever since I upgraded to Unity 4, I have not been able to generate lightmaps any smaller than 1024 x 1024. Is there a reason for this?

The pictures I’ve attached show a lightmap for a small scene at 8 texels and 16 texels. The empty orange areas seem to just be ambient light (I can assure you that the empty area is not an object that is being lightmapped). This issue occurs in all 80 of my game’s scenes.

If anyone can explain how I might be able to fix this, I would totally appreciate it.

Some information about the project: It was upgraded from Unity 3 to Unity 4 - when we did this all of the objects in our scenes were much smaller than they were supposed to be due to mesh compression. We fixed that by mass modifying all of our object files’ mesh compression settings. Is it possible that that somehow broke lightmapping? I’m really at a complete loss here.
![8 texel resolution lightmap][2]

1 Answer

1

Your Texel count is lower than that is required, bump it up and it will take the whole space, suggest going in multiples of 2, if the current is 30, increase it to 60 and re-bake, see if you like, and then continue. Ambient can be lowered to 0 in Render settings and cranked it up later after the bake is complete.