x


Custom Lightmap No Tree Shadows

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.

more ▼

asked Jul 03 '10 at 08:17 AM

amy Young gravatar image

amy Young
1 1 2 3

(comments are locked)
10|3000 characters needed characters left

1 answer: sort newest

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.

more ▼

answered Jul 07 '11 at 08:39 PM

Exsanguinatus gravatar image

Exsanguinatus
1 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x327

asked: Jul 03 '10 at 08:17 AM

Seen: 2274 times

Last Updated: Aug 20 '11 at 03:14 PM