3 ms·
How much optimiztion can you squeeze out of webgl + wasm? Don’t you still have to call into JS?
by huy-nguyen 9y ago
How much optimiztion can you squeeze out of webgl + wasm? Don’t you still have to call into JS?
- flohofwoe 9y agoYes, it's definitely good practice to reduce calls to WebGL as much as possible (for instance through batching, instanced rendering, maintaining your own state cache etc...). Performance behaviour of WebGL is very different from a native GL implementation, but when keeping that in mind it's not too bad all in all.