| Issue | Solution | |-------|----------| | High latency WebSocket | Use WebRTC DataChannel + UDP-like control | | Large texture uploads | Compress to JPEG/WebP before sending | | Frame rate drops | Reduce draw calls (batch rendering) | | Memory leaks in Wasm | Use emscripten_force_exit carefully | | Shader compilation stutter | Precompile shaders offline (SPIR-V cross) |
Key OpenGL objects: