Skip to main content

WebGL2 support

WebGL2 is an upgraded version of WebGL (Web Graphics Library), which is a JavaScript API used for rendering 2D and 3D graphics within compatible web browsers. WebGL2 introduces several performance enhancements compared to WebGL1. While the exact performance gain may vary depending on the specific use case.

Important

The current implementation of WebGL2 export is still experimental and incomplete. While it has the potential for performance benefits, there is also a possibility of it not functioning properly or encountering issues.

Devices adoption

Based on our data (August 2023) WebGL2 adoption on Android is 99.98% and 96.07% for ios devices.

How to turn it on

Click on the Settings section and then from within there go to the Advanced tab, enable the feature.

ConfigurationDetails
WebGL1Exports shaders for WebGL1 target and requests WebGL1 context at runtime
WebGL2Exports shaders for WebGL2 target and requests WebGL2 context at runtime
WebGL2 + WebGL1Exports shaders for both (WebGL1 and WebGL2) targets and requests WebGL2 context at runtime
WebGL2 Context + WebGL1 ShadersExports shaders for WebGL1 target and requests WebGL2 context at runtime

images-medium