Skip to content
New issue

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

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

Already on GitHub? # to your account

Depth fail epsilon #6963

Open
lilleyse opened this issue Aug 27, 2018 · 0 comments
Open

Depth fail epsilon #6963

lilleyse opened this issue Aug 27, 2018 · 0 comments

Comments

@lilleyse
Copy link
Contributor

Cesium has a mechanism to draw primitives that fails the depth test with a depthFailAppearance, but if a primitive is coplanar with other geometry there may be flickering between the appearance and the depthFailAppearance. This is a screenshot of a polygon on a point cloud.

flickery2

It would be useful to have a depth fail epsilon where the depthFailAppearance is only used if the rendered geometry fails the depth test past by some epsilon value in meters. This would help stop the flickering when viewing the primitive face on but still use the depthFailAppearance correctly when viewing it from the other side where the geometry is obscured.

There was also some discussion about this for point clouds in #6714 (comment)

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

No branches or pull requests

1 participant