• 3D
  • How does "WorldEnvironment -->Background / Mode" work

Hi to all

(Win10/Godot 3.2/GLES3)

While following a tutorial i encountered a strange behaviour. After a bit try and error I found ways to bypass the problem but I don't understand why it is this way. I have the feeling i missed some fundamentals on the way.... Can someone point me in the correct direction? (keywords to search for, some documentary how godot handels this)

problem In a 3D-Scene GridMap is not always displayed when WorldEnvironment/BackgroundMode is on "Clear Color". It seems it can display the GridMap or Meshinstances but not both at the same time. Camera-Symbol and Editor-Grids also disappear.

When the WorldEnvironment/BackgroundMode is on "Canvas" both are displayed. Same when a Light is active in the scene. When using GLES2 there is no problem at all.

It is probably a missed setting or an other stupid mistake on my side. I would really like to know where I made the mistake... Thanks for the help

light off and clear color light off and clear color

light off and canvas light off and canvas

light on and clear color light on and clear color

Steps to reproduce and Scene-Tree -Node --WorldEnvironment --DirectionalLight(off) --Camera --MeshInstance --GridMap

change Visibility (light, GridMap, Meshinstance) and WorldEnvironment/BackgroundMode

Make sure to search the issues first, perhaps someone already has reported the issue, in which case you should just add a comment there that you are experiencing it as well.

thanks for the direction

a similiar issue (#30330) was already posted (https://github.com/godotengine/godot/issues/30330)

Summary: it is a bug only existing on integrated graphic cards and GLES3 it happens when a MeshInstance doesn't have a material assigned to it.

when the MeshInstance has a material everything works fine.