What's New in WebGL 2?

As of January 27, 2016, WebGL 2 is available by default in Firefox and Chrome. This means that you will automatically have access to WebGL 2 without any additional dependencies, as long as you use one of the following browsers:

  • Firefox 51 or above
  • Google Chrome 56 or above
  • Chrome for Android 64 or above
WebGL 2 Support

For an updated list of the browsers that support WebGL 2, please visit the Khronos Group web page by following this link: http://www.khronos.org/WebGL/wiki/Getting_a_WebGL_Implementation. Or, you can visit the well-known CanIUse.com resource at: https://caniuse.com/#search=WebGL 2.

As described in Chapter 1Getting Started, WebGL 1 is based on OpenGL ES 2.0; therefore, it doesn’t expose features like query timers, compute shaders, uniform buffers, and so on. That being said, with WebGL 2 (based on OpenGL ES 3.0), we are getting access to more GPU features like instancing and multiple render targets. Since WebGL 2 is a considerable upgrade from WebGL 1, let’s highlight some of its important features.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.16.184