Why won't realtime shadows work?

The spot light is set to buffer shadows. I’m using GLSL, and it worked correctly in another blend. Why isn’t it functioning now?


DemoScene.blend (1.22 MB)

You need to set the lamps shadow Clip Start and Clip End values so your object is between them.

It does work after adjusting the location of the spotlight correctly.
i have also tweaked the scene a bit for better lighting.:wink:


DemoScene_fixed.blend (1.26 MB)

So all you did was move the light?

Your object was outside the buffer shadow limits, either change the limits or move the light so you object is within them. If you are wanting to use something in blender first start learning about them. See here for buffered shadows http://wiki.blender.org/index.php/Doc:2.5/Manual/Lighting/Lamps/Spot/Buffered_Shadows#Common_options