
It looks like you're new here. If you want to get involved, click one of these buttons!
Currently i am making an endless runner game and i want the bake lighting. However, bake lights are not getting stored in prefab. I have gone through some forums but they are old and not working properly. Is there any possible way to do this?
Answers
No, you can only bake objects that are static. So while you can bake the light on to a STATIC INSTANCE of a prefab, prefabs themselves are not.
Baking lighting is like generating another texture for the object with the shadows already on it. This means it doesn't need to do as many light updates, and lets the app run faster. You can't bake light on something that moves, because the shadows would be changing.
Even if your prefab doesn't move, as long as it's not static, it has the capability to move.