Confirmed users
188
edits
m (→Configure it) |
|||
Line 31: | Line 31: | ||
Because WebGL 2 prototype isn't not secure at all, it's only available in nightlies and need to be enabled by a hidden flag. Beyond this point, your are running nightlies at your owns risks. We recommend you to do not use this nightly for something else than running WebGL 2 prototype code and keep using your default web browser for everyday use. In case of your default browser is Firefox, you will still be able to use it thanks by "-P webgl2_config". | Because WebGL 2 prototype isn't not secure at all, it's only available in nightlies and need to be enabled by a hidden flag. Beyond this point, your are running nightlies at your owns risks. We recommend you to do not use this nightly for something else than running WebGL 2 prototype code and keep using your default web browser for everyday use. In case of your default browser is Firefox, you will still be able to use it thanks by "-P webgl2_config". | ||
Access to about:config in the url bar. | * Access to about:config in the url bar. | ||
* Search for webgl.enable-draft-extensions and set it to true. That will let you use [http://www.khronos.org/registry/webgl/extensions/WEBGL_draw_buffers/ WEBGL_draw_buffers] extension in WebGL 1.0, and natively in WebGL 2. | |||
Search for webgl.enable-draft-extensions and set it to true. That will let you use [http://www.khronos.org/registry/webgl/extensions/WEBGL_draw_buffers/ WEBGL_draw_buffers] | * Right click -> New -> Boolean and set webgl.enable-prototype-webgl2 to true. | ||
Right click -> New -> Boolean and | |||
==== Create the WebGL 2 prototype context ==== | ==== Create the WebGL 2 prototype context ==== |