Does PlayCanvas support occlusion culling?

Does PlayCanvas have built-in occlusion culling functionality?

Unfortunately, no

1 Like

It’s possible to use WebGL2 queries with PlayCanvas, with some engine patching, to run hardware occlusion queries. I worked on a similar example here: https://twitter.com/PlayingInCanvas/status/1639656617531539456?s=20

It’s not a general purpose solution though since it requires extra draw calls / rendering for each query. Usually targeted to high poly models that makes sense to occlude.

A more general purpose occlusion culling solution would have to be project specific and usually run on a web worker or use prebaked visibility data.

4 Likes