Problems with shadows and trees

jonnys

05-08-2008 05:36:02

I setup up a paged scene with caelum, and I use the shadow technique SHADOWTYPE_TEXTURE_MODULATIVE and it works but there are these weird "things" (shadowy square quads) over some of the trees that should not be there. This is a shot of it:



Also when I set it to other shadow techniques, the "weird quads" don't exist.

What could be the problem?

wolfmanfx

05-08-2008 14:33:02

in the tree material you have to set the alpha rejection parameter

Alekiel

09-10-2008 04:14:34

My understanding is that SHADOWTYPE_TEXTURE_MODULATIVE does not support transparency and alpha channels.

JohnJ

10-10-2008 00:13:38

I don't know a whole lot about Ogre shadows, but I think you have to set up the shadows to use transparency, and you also might want to disable self-shadowing on the trees if you can.

calsmurf2904

31-10-2008 17:41:50

have the same problem...do you have already have a fix ?