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

Controlled particles: automatic frustum culling? #309

Open
hmans opened this issue Sep 27, 2022 · 0 comments
Open

Controlled particles: automatic frustum culling? #309

hmans opened this issue Sep 27, 2022 · 0 comments
Assignees

Comments

@hmans
Copy link
Owner

hmans commented Sep 27, 2022

When you have a controller particles effect with lots and lots of particles spread across the world, it could be fun to automatically cull these -- ie. from the many many asteroids we already have, only upload those to the instance matrix that are in view, and cap InstancedParticles.count to the number of instances rendered.

(Not sure if this really yields any performance benefit. Asteroids could just as well be separate instancedmeshes, and we'll let Three's own culling do its thing?)

@hmans hmans self-assigned this Sep 27, 2022
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