3 ms·
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-i
by Ameo 4y ago
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_threejs_with_depthbased_fragment/iq4t2hz/ 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.