Skip to content

Fog obscures unshaded materials in GLES2, also affects Gizmos. #26235

Closed
@EzraT

Description

@EzraT

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:

  1. Switch to GLES2.
  2. Enable fog in WorldEnvironment node.
  3. Add a MeshInstance with an unshaded material to the scene.
  4. View the mesh from a greater distance by zooming out.
  5. Compare to GLES3.

Screenshots:
GLES3:
gles3

GLES2:
gles2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions