Im facing a problem while using stencil shadows for a ball.The shadow is cast on multiple objects at the same time.There is only one source of light(sun).

for shadows im using the following code.

set(ball,SHADOW|POLYGON|CAST);

Checkout the following screenshot.




Team noobeez.Representing India at the Dare to be Digital Competition in Dundee,Scotland.We are making a 3d platformer called "Colour Scheme".