Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Speeding Up Three.js with Depth-Based Fragment Culling (cprimozic.net)
6 points by todsacerdoti on Sept 27, 2022 | hide | past | favorite | 1 comment


Hello, author here!

Some helpeful people on Reddit pointed out that there’s actually an even easier way to achieve this functionality that makes use of built-in depth test functionality with OpenGL/WebGL: https://old.reddit.com/r/threejs/comments/xpecac/speeding_up...

I tried it out in my project (took 10 mins to get working) and it seems to have improved performance by another 10-15% on top of the previous gains!

I’ll be updating my blog post to reflect this and probably writing a follow up post as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: