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

Opaque geometry and translucent globe z-fighting #8968

Open
lilleyse opened this issue Jun 16, 2020 · 0 comments
Open

Opaque geometry and translucent globe z-fighting #8968

lilleyse opened this issue Jun 16, 2020 · 0 comments

Comments

@lilleyse
Copy link
Contributor

From #8726 (comment)

Geometry on the globe (not ground primitives) can have z-fighting artifacts with the translucent globe.

Depending on the zoom level and geometries involved the terrain geometry may sometimes render above the primitive geometry. This happens even when the globe is opaque, but globe.depthTestAgainstTerrain = false exists to clear the globe depth before the opaque pass so that z-fighting doesn't occur.

The problem with translucency is that globe tiles get rendered in the translucent pass, after the opaque pass, and it isn't possible to avoid z-fighting unless a more complex layering system is in place.

Sandcastle
bug-translucent-geom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant