2D Lighting through seamless portal

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Karl Marx

I am making a 2D platformer game in which I want to make a Light2D shine through a 2D portal. The game has the camera following the player who has a Light2D as part of their scene. Ideally I would like the player to never know that they have passed through a portal, it would just look like they walked through a corridor and were suddenly in a different part of the map. Any ideas would be much appreciated.

so you want the light to be teleported as well?

CollCaz | 2023-05-20 14:20

Yes. And the new location to be illuminated and shown on screen instead of what is actually on the other side of the portal.

Karl Marx | 2023-05-21 00:47