News for hackers. Stuff that matters.
Re:React Renderer for Three.js by Jasper_ on Sunday August 15, 2021 @04:33PM (#28192277)
emscripten ships a "desktop GL" emulation library [0], which can have quite a bit of overhead. If you want something faster, you can use the native WebGL bindings [1]

[0] https://github.com/emscripten-core/emscripten/blob/main/src/... [1] https://github.com/emscripten-core/emscripten/blob/main/test...

Re:React Renderer for Three.js by nobbis on Sunday August 15, 2021 @04:50PM (#28192410)
The "native WebGL bindings" still call into JS.

Desktop GL emulation is just a layer on top OpenGL ES if, for example, you're still using OpenGL's fixed function pipeline (deprecated 13 years ago.)