Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Diet Estus |
I am working in 2D and want to play around with the parameters in WorldEnvironment
. Mainly, I want to experiment with fog and lighting.
How do I either (1) access the default WorldEnvironment
to change parameters, or (2) create a new WorldEnvironment
node to change parameters?
I usually find the Godot documentation sufficient, but this time I couldn’t find the answer in it.
I’ve tried adding a WorldEnvironment
node to my camera, which is Camera2D
child of my Player node. I created a new Environment resource for it. But I am not seeing any effects when I fiddle with the parameters.
I notice that the 3D Camera
node has a parameter for an Environment resource, but the Camera2D
does not. So, is there a way to change the WorldEnvironment when working in 2D with a Camera2D
?
This GitHub issue seems to be related. There seems to be some confusion over whether WorldEnvironment
is applicable to 2D.