3 ms·
Looks like it would be possible with Emscripten but I'm not sure what OpenGL version its using so that's probably the biggest dependency there.
by proc0 1y ago
Looks like it would be possible with Emscripten but I'm not sure what OpenGL version its using so that's probably the biggest dependency there.
- q3k 1y agoI tried doing this a few years ago, mapping OpenGL 1.x primitives into WebGL was indeed a pain. There were some translation layers but they were either incomplete or targetting GLES, not classical OoenGL. I then attempted to actually rewrite ETR to use GLES (or modern OpenGL in general), but that also turned out to be quite an effort given how the original engine/game code is structured.
- proc0 1y agoInteresting. Sounds like a rewrite would be faster since the game itself doesn't seem that complicated.