3-Torus FlowVis Tool Tutorial

Shader Compilation Acceleration

Description

Large shaders in WebGL, especially on Windows, suffer from long compilation time.

Solution

Enabling OpenGL as the ANGLE graphics backend can significantly reduce compilation time.
Below are the steps necessary to do that in Chrome and Firefox.

Chrome

When using Chrome as browser, type "chrome://flags" into the address bar at the top.
Type "ANGLE" into the search bar below the address bar.
There should be a setting called "Choose ANGLE graphics backend".
Select "OpenGL" from the box on the right.
Make sure to click "Relaunch" when prompted.

Firefox

When using Firefox as browser, type "about:config" into the address bar at the top.
Click on "Accept the Risk and Continue".
Type "disable-angle" into the search bar below the address bar.
There should be a setting called "webgl.disable-angle".
If the value is "false", change it to "true".