I see, I was under the assumption that the player was carrying the lantern.
So, is the lantern(s) stationary relative to the obstacles?
If so, then you can still use the advice I gave you, but instead of having it update every tick, it would only be run once; that is unless you have moving objects or the player be lit up by the lantern(s).