Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | itaypoo |
I was trying to add some glow to my game and added an WorldEnvironment node to the scene. When changing the mode to Canvas and running the game, all I see is a black screen.
None of the WorldEnvironment node settings seem to change anything (It changes in the editor preview, but running the game still gives me a black screen.)
Screenshot - Pasteboard - Uploaded Image
Any help would be appreciated!
Have you tried tweaking the settings for the WorldEnvironment
?
Ertain | 2022-08-13 23:18
I have tried messing with some settings to no avail. Any specific ones that might help? Ambient light and Energy did not fix it.
itaypoo | 2022-08-14 08:42
How about the Camera
? Have you assigned the new WorldEnvironment
in the Camera
node settings?
Ertain | 2022-08-14 08:57
No, How would I do that?
itaypoo | 2022-08-14 09:55
I was mistaken; a WorldEnvironment
node can’t be assigned to a Camera2D
. It can only be assigned to a Camera
, i.e. one that’s meant for 3D.
Could it be due to some other node? That parallax node, for instance? Or a canvas node?
Ertain | 2022-08-14 21:46
Hey, thanks for the help. I managed to fix this by removing the Viewport node I had in the glboal (autoloaded) node. I’m pretty sure this is a bug?
itaypoo | 2022-08-15 16:25