- Home /
Light mapping does not map some of my objects
I created a town in unity and to save rendering power I want to use light maps but I ran into a problem along the way. Some of my objects do not get backed. They are static and there shader allows for light maps. Is it because I have a lot of objects in the scene?
Answer by liszto · Jan 30, 2013 at 04:00 PM
It's maybe the cause of your problem.
When you bake your lightmaps, do you have some warnings on the lightmap array size which is reached ?
If you have numerous objects in your scene and if you don't change the scale in lightmap so yes you probably reach the max lightmap array size (255 lightmaps are allowed).
In this case, decrease this value cause a scale in lightmap of 1 represent 1 lightmap per object which is really high :)
You can watch this tutorial which is really usefull and the unity lightmap page
Your answer
Follow this Question
Related Questions
Fix light stroke in terrain 0 Answers
Random lightmap switching 0 Answers
where is Unity's shader handeling lightmapping? 1 Answer
Consider overlapping objects separately in a lightmap? 0 Answers