Skip to content

Standard shader incorrect geometry emitted #21

Description

@japsuu

The standard shader sometimes emits extra geometry to the following G-buffer textures:

  • Albedo
  • Normal
  • Metallic
  • Position
  • Roughness
  • ObjectID
  • Depth (black, meaning close to the camera).

The geometry appears as a singular pixel in the buffers. It is not visible in the final rendered image, but can be seen in the debug render modes.

If the wireframe debug render mode is enabled, two wireframe lines can be seen, higher of them intersecting with the emitted pixel:
image
In the image, the camera is positioned inside a sphere mesh, and the camera has been slowly rotated until the anomaly is visible. Wireframe mode is enabled.

2024-08-08.12-09-14.mp4

This might have something to do with depth sorting, as the emitted geometry resembles the back faces of drawn objects.

The issue has been first noted can be reproduced with the latest repo state at the time of speaking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions