Platform/GFX/WebGL2: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
WebGL2 specification is now well underway at Khronos. There is a [https://www.khronos.org/registry/webgl/specs/latest/2.0/ draft specification].
= How to enable the WebGL2 prototype in Firefox =
= How to enable the WebGL2 prototype in Firefox =
WebGL2 specification is now well underway at Khronos. There is a [https://www.khronos.org/registry/webgl/specs/latest/2.0/ draft specification].


Go to about:config, create new boolean preference with the name
Go to about:config, create new boolean preference with the name
Line 16: Line 16:


     var gl = somecanvas.getContext("experimental-webgl2");
     var gl = somecanvas.getContext("experimental-webgl2");
= Requirements =
WebGL2 requires either OpenGL ES 3.0 support, or a comparable desktop OpenGL feature set (any desktop OpenGL 3.2 system should work, but not all of OpenGL 3.2 is required).
Confirmed users
753

edits