Skip to content

Conversation

@mrxz
Copy link
Collaborator

@mrxz mrxz commented Sep 29, 2025

This PR introduces a minPixelRadius property similar to the existing maxPixelRadius, but instead of clamping it's used for discarding. This allows very small splats to be discarded during the vertex shader.

Worth noting that the pixel radius is checking against the radius after blur has been added. This does mean that when blurring splats have a minimum size and changing the blur amount impacts this minimum size. As a result the minPixelRadius isn't entirely independent of the blur amount. (The same of course applies to maxPixelRadius, but is less relevant there)

@dmarcos
Copy link
Contributor

dmarcos commented Sep 29, 2025

Thank you!

@dmarcos dmarcos merged commit 15318d7 into sparkjsdev:main Sep 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants