Blitz Stencil Shadow System v0.89 alpha

Miscellaneous Forums/Blitz Showcase/Blitz Stencil Shadow System v0.89 alpha

I have seen many volume creation programs and think I slightly understand how they work, but I am totaly lost in how you get the ground (or whatever) to turn grey when inside the volume.

Would someone mind posting a simple program that uses like a plane for the ground and a cone for the shadow volume that turns the intersecting parts grey, like a round shadow?