Okay, here's the new method, project planes (or lines in 2d) from each face of the box, and then find the point where the normal intersects them. Take the point with the shortest distance to intersection, and then clamp that point to the box instead. That's your "best point" for lighting.