- Home /
Does lightmap bake the lighting for trees?
I have a scene with a terrain (800x800) which has trees and rocks etc within it. The trees are made with the tree creator and placed over the terrain using the tree placing tool. The rocks are placed manually.
When I bake the scene everything looks correct with the lightmap when I toggle the directional light off except for the trees all go very dark as if they're not lit... my understanding of the lightmap was that I could disable the light and nothing would change if the lightmap is being used...
I thought the lighting for the trees would be included within the Lightmap data since everything else in the scene, rocks etc, are all correct... any reason for this, something I could be doing wrong? My terrain, light and rocks are all static and I selected "Bake Scene"...
Should I instead place the trees manually around the level...?
Using Unity Pro 4.3
Thanks
$$anonymous$$ake sure that the Prefab trees you added to your brush as you painted the trees are indeed marked as static
Will try this but I did test with an instance of the tree prefab used placed in the scene and set as static and it still appears unlit when I disable the directional light...
It seems to work fine for me. You may need to make the tree prefabs static before you add them to the scene. Try adding one new tree which is marked as static and see if they behave differently to the trees you already added
I've made the prefabs all static and still no difference... :/
I know this may be a foolish suggestion, but do you remember to rebake the scene? If that's not it, then I'm sorry, but I'm out of ideas
Your answer
Follow this Question
Related Questions
Unity Trees glowing on midnight skybox. 4 Answers
Tree lighting problems 0 Answers
Terrain Trees remain lit up when no light is cast 1 Answer
Beast Lightmapping Trees 1 Answer
Fixing lighting on billboard terrain trees in Unity Free 0 Answers