Baking Tree Shadows

For some reason I thought the shadows for each tree on my terrain could be baked into the terrain’s lightmap, but I can’t see to get it to work. Shadows from the terrain itself and objects not part of the terrain bake just fine.

Am I missing something? Is there a way to bake the shadows of the trees into the lightmap?

thanks,

Kevin

there is a script that allows it.

but keep in mind that the detail level of the trees on the lightmap is catastrophal as the lightmap stretches across the whole terrain so you won’t see single small branches etc at all (its nowhere near the shadows you get from realtime shadows)

The baked lightmap looks pretty good for lower quality settings and you get the performance of the lightmap. Yes it’s blurry for large terrains and low lightmap resolutions. But it also mixes fine with the realtime shadows, which then use the lightmap for distance and realtime pixel rendering locally.

I wonder if the team could integrate the burning of tree shadows into the calc lightmap… function.