GLES 3 support code is landing to Emscripten in https://github.com/kripken/emscripten/pull/3757 and https://github.com/kripken/emscripten/pull/3782 . After those are merged, Emscripten should be able to compile GLES3 based code correctly (-s FULL_ES3=1 linker flag is needed to emulate a few features), but at the moment, we don't yet have a browser that would fully support WebGL 2 that could run the generated GLES 3 code. Firefox Nightly can run some WebGL 2 content if one configures the following prefs in about:config:
webgl.bypass-shader-validation: true webgl.disable-angle: true webgl.enable-draft-extensions: true webgl.enable-prototype-webgl2: true webgl.force-enabled: true After those two PRs land, if you do have GLES3 codebases that generate a compiler error when compiled with Emscripten, please let us know. Also, even though we do know that WebGL 2 support is not yet complete, feel free to post bugs/experiences of attempted runs of GLES3/WebGL2 code (with those prefs enabled) and how far you got. They will definitely be useful. Note that the above prefs cause problems with running WebGL 1 code at the moment, so when finished testing with WebGL 2 code, remember to revert back to the previous settings. 2015-09-18 12:49 GMT+03:00 Pepijn Van Eeckhoudt <[email protected]>: > > > On 18 Sep 2015, at 05:52, [email protected] wrote: > > > > What is the ETA on OpenGL ES 3.0 support for Emscripten? > > OpenGL ES 3.0 would have to map to WebGL 2.0 which isn’t finalised yet > AFAIK. Not sure how much sense it would make to provide support for a spec > that’s still in flux. > > Best regards, > > Pepijn > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
