Skip to content

Improved point rendering on WebGL2 #7706

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

Merged
merged 1 commit into from
May 27, 2025
Merged

Improved point rendering on WebGL2 #7706

merged 1 commit into from
May 27, 2025

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented May 23, 2025

Fixes #1972
Improves #7639

On WebGL, gl_PointSize needs to be set when rendering points, otherwise the value is undefined and we end up with either no points of huge points in most cases.

This defaults it to 1.0 in lit shaders.

@mvaligursky mvaligursky merged commit 3f6fd06 into main May 27, 2025
7 checks passed
@mvaligursky mvaligursky deleted the mv-gl-point-size branch May 27, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Point cloud glTF asset not rendered
2 participants