Replies: 2 comments 3 replies
-
Workaround could be to disable it in editor and add a script which enables it runtime. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I cobbled together a plugin to solve this problem: aXu-AP/LightToggle2D |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been enjoying working on my 2D game in Godot, but I've run into a bit of an annoyance with the lighting system. I'd like my areas to be dark by default during gameplay, and have them be lit up by objects in the world, such as the player's flashlight. However, when editing the areas, I'd like to be able to clearly see everything.
Currently, when I have my in-game negative light enabled, my scene looks like this:

In order to see the level effectively, I disable my node containing the WorldEnvironment and negative light:

The trouble with this is that I have to remember to re-enable it before I run the game to see what it will actually look like with the correct lighting. I've also probably pushed a bunch of commits that inadvertently disabled and re-enabled the node as I forgot and remembered that it was modified.
It'd be great if there was an option along the top row above the scene view, where we could toggle lights on and off.
(If there is already some way to do this, please let me know - it'd be great to hear! But I feel like I've searched pretty well for it and haven't been able to find anything.)
Beta Was this translation helpful? Give feedback.
All reactions