was wondering if someone might be able to help me out.
I've been working on trying to bake shadows into my lightmaps, and have managed (using the custom lightmap script on the wiki) to bake almost everything into my terrain (buildings and objects) but I just can't seem to get the tree shadows to bake with them. It's as if the script just doesn't know they're there.
If anyone has any tips or tricks I can try, I'm just about at the point were I'm going to have to give up so any advice would be great.
p.s Following this tutorial:http://www.unifycommunity.com/wiki/index.php?title=Terrain_tutorial Still no luck to get tree lightmap.
asked Jul 03 '10 at 08:17 AM
If you're using alpha blending for your transparency on the trees, they won't be calculated in the shadows. Use one of the Transparency/Cutout shaders for your foliage instead, and the trees should show up in the shadows again. Plus, the cutout (a.k.a. Alpha Testing) shaders are generally way faster and friendlier on the video card than blending.
answered Jul 07 '11 at 08:39 PM