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

GroundPrimitive Polygon visual artifacts at pole #8033

Closed
shunter opened this issue Aug 1, 2019 · 1 comment · Fixed by #11489
Closed

GroundPrimitive Polygon visual artifacts at pole #8033

shunter opened this issue Aug 1, 2019 · 1 comment · Fixed by #11489

Comments

@shunter
Copy link
Contributor

shunter commented Aug 1, 2019

Sandcastle example

This is a single polygon at the pole. There are multiple visual artifacts:

image

@ggetz
Copy link
Contributor

ggetz commented Jul 26, 2023

I did some debugging here, and this artifact happens only with ground polygons. As a workaround, you can set height: 0 to use a regular polygon.

This is caused by using spherical texture coordinates for ground primitives, particularly a discard that that clips any values computed outside of the [0, 1] range for UV coordinates.

@ggetz ggetz changed the title Polygon visual artifacts at pole GroundPrimtive Polygon visual artifacts at pole Jul 26, 2023
@ggetz ggetz changed the title GroundPrimtive Polygon visual artifacts at pole GroundPrimitive Polygon visual artifacts at pole Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants