please check this raycaster example be Sage3D: https://www.youtube.com/watch?v=abki1Tp1maM I wonder how the lighting layer is done?
For sure it baked into sometinhg,