Shadow casting using projector

Hi,

Since we can’t use lights to cast shadow in iOS, I am trying to use the projector component to get the same effect.

I am using the Blob-Shadow package that is used in the Penelope example, but I got the behaviour seen in the screenshot below.

679736--24417--$Screen shot 2011-09-04 at 10.42.59 PM.png

As you can see the “shadow” of the cylinder is projected on both walls (even though one is behind the other).

How can I use the projector in order to have the “shadow” projected only on the first “hit” wall?

Thanks in advance,

Jay_Santos

You can use layers, or reduce the projector far clip plane so it doesn’t go as far.

–Eric

And you can set the Far and Close Clippings of the Projector. This has also Impact on how much it fades out. Distance between far and close is calculated for the “alpha”.

And you can try the lerpz platformer tutorial which walks you through blob shadow projectors.

I am trying to set a shadow for my character, using render to texture and one projector. It’s almost done, but muy shadow isn’t black (or grey transparent), my shadows is exactly the render to texture.

How can i convert the render to texture to black and white?