Closed
Description
Godot version:
Godot_v3.1-beta7
Also tested in 3.1-RC1, still present.
OS/device including version:
Linux Mint 19.1
NVIDIA GP106 [GeForce GTX 1060 6GB], Driver version: 415.27
Issue description:
As the title says, unshaded objects get obscured by fog in GLES2.
I'm not sure what the correct behaviour is here, but the GLES3 backend always renders unshaded meshes the same way, whether fog is enabled in the scene or not.
Steps to reproduce:
- Switch to GLES2.
- Enable fog in WorldEnvironment node.
- Add a MeshInstance with an unshaded material to the scene.
- View the mesh from a greater distance by zooming out.
- Compare to GLES3.