Please help, shadows

How can I create shadows,

I really need to know and appreciate in advance.

Google is your friend:
shadow mapping
depth shadows
stencil shadows
projected shadows
planar shadows

And how about etc…


go to Actual code is available for you to peruse.

I would avoid stencil shadows. They look cheesy.