We highly recommend using the :ref:`opengl-support-webgl-subset` for new code, and porting existing code to this subset if possible. The other two modes are less efficient, and should only be ...
This template repository allows for compiling OpenGL ES 3.0 (WebGL 2.0) projects with SDL2, SDL2_image, SDL2_mixer, and SDL2_ttf using Emscripten and CMake.