I'm trying to get started with emscripten but I don't seem to be able to find all that much information about it. I have followed the tutorial, and got a simple hello world working. From what I gather the normal GL
calls automatically get translated into WebGL
, but what I'm wondering about is how to set up the rendering target, context and all that without SDL
or GLUT
or anything along those lines.
Is there a way to use WebGL
on emscripten without SDL\GLUT
(including mouse/keyboard input, etc)? Where can I get some more info, examples, etc about emscripten?
I suggest you use Cheerp - an alternative to emscripten - Cheerp has a working WebGL demo, it also has much more coherent/updated docs/examples
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With