Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard shader incorrect geometry emitted #21

Open
japsuu opened this issue Aug 8, 2024 · 0 comments
Open

Standard shader incorrect geometry emitted #21

japsuu opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@japsuu
Copy link
Owner

japsuu commented Aug 8, 2024

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.

@japsuu japsuu added the bug Something isn't working label Aug 8, 2024
@japsuu japsuu changed the title Standard shader incorrect Standard shader incorrect geometry emitted Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant