Hi, I've put up a webpage with the Oryol samples using the new work-in-progress WebGL2 render path:
https://floooh.github.io/oryol-webgl2/ This needs Firefox Nightly or Chrome Canary (in Canary, WebGL2 must also manually be enabled in chrome://flags/). If no WebGL2 support is available, most samples will fall back to WebGL1. Next thing I want to do is to also have such a page for the more complex 'extension samples' (currently here: http://floooh.github.io/oryol-samples/), and to add more feature-test samples for WebGL2 specific features. Please be aware that uniform-buffer support is currently broken on Windows with Intel GPU, most samples won't work, or even crash the graphics driver, so use at your own risk :) The WebGL2 renderpath adds additional features on top of the WebGL1 render path, and not all of this is currently implemented: - instead of granular glUniform calls, the WebGL2 render path uses a 'global' uniform buffer and uniform blocks with std140 layout - new vertex-attribute- and pixel-formats (most notably the 10-bit packed formats) - support for transform feedback (demo coming soon) - support for MSAA offscreen rendering What's planned: - multiple-render-target support - 3D- and array-textures - support for integer data types in shaders and the new integer pixel formats - ETC2/EAC texture support - (occlusion) queries Enjoy :) -Floh -- 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.
