Stencil shadow drawing?

BlitzMax Forums/BlitzMax OpenGL Programming/Stencil shadow drawing?

It looks like parts that are self shadowing only are projecting out of the object onto the wall behind as well.