This is ment for 3D gaming so if you know about @griffpatch's Raycasting system, or other 3D game engines, this lighting can be used. Backpack it and use it in a 3D game!
Credit me if the engine is used.