Shadows?

Hi again! I know openGL doesn’t support(itself) the projection of shadows…but how can we manually do that?stencil buffer?

look at nehe.gamedev.net, there is a pretty good explanation of basic stencil shadowing there