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

Occlusion culling via occulsion queries #9

Open
expenses opened this issue Jul 27, 2022 · 0 comments
Open

Occlusion culling via occulsion queries #9

expenses opened this issue Jul 27, 2022 · 0 comments

Comments

@expenses
Copy link
Contributor

Using occlusion queries for culling is an Old Skool technique (it's mentioned in GPU Gems which came out over 18 years ago!!).

While we'd ideally be using a depth pyramid for occlusion culling, that's not an option until WebGPU comes out (ideally with an extension that let's us use the right sampler). So this is probably something we should implement at some point (after frustum culling).

The path of least resistance here is probably just to copy BabylonJS here: https://github.com/BabylonJS/Babylon.js/blob/4b074f9f74f25d51edbfc480e1da678cbb5eff8d/packages/dev/core/src/Engines/WebGPU/webgpuOcclusionQuery.ts.

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

No branches or pull requests

1 participant