Faster 3D Rendering with WebGL 2.0 in Chrome 56

WebGL 2.0 is currently available for Chrome users with modern graphics hardware on Windows, macOS, and Linux, and is coming soon to Android.

Share online:

Chrome 56 brings support for WebGL 2.0, a major upgrade to the WebGL JavaScript API, that exposes hardware-accelerated 3D graphics to the web.

The new API, unlocks a variety of new graphics features and advanced rendering techniques—is available today to Chrome users with modern graphics hardware on Windows, macOS, and Linux, and is coming soon to Android.

Using WebGL 2.0, 3D web applications can be build with faster real-time rendering, new types of textures and shaders, and reduced video memory consumption, as well as techniques such as "deferred shading, tone mapping, volumetric effects, and particle effects" can now be efficiently implemented, Chrome team said.

In addition, 2.0 also introduces a substantially expanded conformance test suite with over 340,000 test cases to help ensure that different web browsers offer compatible graphics platforms. The new APIs also bring WebGL up to feature parity with OpenGL ES 3.0, "a graphics platform commonly used in mobile games," added Chrome team.

Those interested in using WebGL 2.0, should check out the samples pack, which contains small self-contained examples of most new API features.

And, to see WebGL 2.0 in action, check out the "After the Flood1," an interactive demo by PlayCanvas, created in conjunction with Mozilla here.

WebGL 2.0 Transform in Chrome 56

Google is reducing power consumption for background tabs, which consume a third of power usage on desktop in Chrome. Starting in version 57, Google said, "Chrome will throttle individual background tabs by limiting the timer fire rate for background tabs using excessive power."

Via new throttling policy, Chrome 57 will delay timers to limit average CPU load to 1% of a core if an application uses too much CPU in background. "We've found that this throttling mechanism leads to 25% fewer busy background tabs," it said.

Tabs playing audio or maintaining real-time connections like WebSockets or WebRTC won't be affected, said the Chrome team.

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.