Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Wolchy |
The problem of displaying light2d in a popup. Light and effects on sprites that react to it are displayed in the editor but remain invisible when the scene is rendered. The problem is demonstrated in the video at the link:
I use type Light2D and WorldEnvironment nodes to create a glow effect:
Since the light is not showing in the control nodes I added a Polygon2D node as a child to the scene with my images:
As a result of these actions, the light and its effects began to display correctly in the editor, but are still not visible in the render. I found that both nodes (Light2D and WorldEnvironment) are connected to the scene and are displayed on the render, but are displayed UNDER the dialog. Manipulations with z-index and render priority did not give results.
Please tell me how to solve this problem, or at least bring the Light2D and WorldEnvironment OVER the popup.