Skip navigation
Finally solved all the big things needed to prove occlusion culling is viable in the Hyperfy engine.
0:00 / 0:50

Finally solved all the big things needed to prove occlusion culling is viable in the Hyperfy engine.

Ash

@AshConnell9.1K followers

Visit on X
164 likesDownloadOriginal post

15,118 views

Finally solved all the big things needed to prove occlusion culling is viable in the Hyperfy engine. All culling happens directly at render time and instantly, we've taken over the Three.js render pipeline to use our spatial hierarchy and manually issue renders, postprocessing and shadow passes with both frustum and occlusion culling. Our pipeline now aligns much more closely to unity/unreal because we collect visible objects and issue custom instanced draws on the fly for only those objects every single frame. This is one of the biggest issues engines on the web like three, babylon and playcanvas have and imo the reason people coming from unity/unreal don't take them seriously. There's a lot to unpack here, maybe i'll make a thread soon.

11 Comments

Comments from the original post on X (Twitter)

  • Ashxn's profile picture

    @AshConnell

    The video doesn’t really do it justice but this should now mean we can have things like big cities in WebXR which was essentially impossible until now with web based engines.

    21 likes

  • AndaSeat's profile picture

    @andaseatchair

    ⌨️ 2AM debugging session: Your code won't compile, Stack Overflow is your best friend, and your Kaiser 4 is the only one who understands... Every developer's late-night reality: 💻 "One more bug fix" turned into sunrise ☕ Coffee cup collection growing 🐛 That bug that just won't die Kaiser 4 speaks fluent Python: 🌟 4D lumbar support for those debugging postures ✨ Perfect height for multiple monitors 💫 Recline mode for code compilation breaks Because good code comes from comfortable devs! ⚡️ Debug in comfort: #AndaSeat #DevLife #CodingLife #ProgrammerSetup #gaming #gamingchair

    277 likes

  • 《 ᴘʀɴᴛʜ 》's profile picture

    @prnth_

    @hyperfy_io @threejs it would be awesome to see this as a separate demo outside the hyperfy context, I believe this tech is something that the whole threejs community would benefit from im sure @lamboc0rp agrees

    6 likes

  • Ashxn's profile picture

    @AshConnell

    @hyperfy_io @threejs @lamboc0rp I know exactly how this could happen but it’s near impossible to get buy-in. There are hundreds of threads/issues/pr’s where people propose a better scene graph, spatial hierarchies or occlusion culling, and all of them flatline. It has to come from the top.

    7 likes

  • FlizA-foRM 2 ( $FARM2 )'s profile picture

    @FlizA_foRM2

    @hyperfy_io @threejs glad to know that Unity and Unreal are now more supported. @boopdotfun @dingalingts #FARM2$FARM2 #Hyperfy

    6 likes

  • aegs's profile picture

    @aegs79

    @hyperfy_io @threejs Great Job 💪🏻👌

    4 likes

  • Hiro P's profile picture

    @_001

    @hyperfy_io @threejs Wow! This is fantastic news. Congrats 👏🥰

    3 likes

  • E.OS's profile picture

    @aiagent369

    @hyperfy_io @threejs @grok @aixbt_agent Wouldn't this be amazing if we could achieve this? Are there any other world engines like this?

    3 likes

  • 🟢 ٴ❍𒑰 🟣's profile picture

    @irb0gie

    @hyperfy_io @threejs

    3 likes

  • nounspacetom.eth ⌐◨-◨'s profile picture

    @nounspacetom

    @irb0gie @hyperfy_io @threejs occlusion culling is a game changer, can't wait to see the impact on web3 protocols and apps

    3 likes

  • Cayden's profile picture

    @Cayden970207

    @hyperfy_io @threejs nice!!! looking forward for next updates <3

    3 likes