Identifying fredborgs projection method and trying to integrate it into yours.
But I'm not sure if yours does not suffer this problem actually. The pillars are a very bad object to check for it as they always have near-perpendicular surfaces
But as you are the master of "stencils" ;-): Wouldn't it be simpler just project it that way instead of trying to fake something that will not work with objects smaller than the light radius at the given distance (you would need far more than only 1 pick to make that work)
Alternatives are investigating jRenderMonkey, OGRE and others texture projectors.
But I'm not sure if yours does not suffer this problem actually. The pillars are a very bad object to check for it as they always have near-perpendicular surfaces
But as you are the master of "stencils" ;-): Wouldn't it be simpler just project it that way instead of trying to fake something that will not work with objects smaller than the light radius at the given distance (you would need far more than only 1 pick to make that work)
Alternatives are investigating jRenderMonkey, OGRE and others texture projectors.