WebGL is a programming interface that modern browsers expose to web pages so they can draw 2D and 3D graphics using the graphics card of the computer or phone. It is what lets a visitor rotate a 3D model on a website as smoothly as in desktop software, without downloading anything.
What it is used for in a business
For manufacturers of technical products WebGL opens two doors. The first is the online product configurator, where the customer picks versions, accessories and finishes and sees the result straight away. The second is the interactive technical catalogue, where a sales engineer or a dealer explores the machine, opens exploded views and shows details a photo cannot.
An example
A company that builds made-to-measure gates and fencing receives many incomplete quote requests. With a WebGL configurator on its website, the customer sets width, height, panel style and RAL colour, watches the gate update and sends a request that is already structured. The technical office gets consistent data and spends less time on clarification calls.
In Unity
The Unity Manual treats the web as a build target of its own. A Unity project exported for the web runs on Chrome, Firefox and Edge on Windows, macOS and Linux, on Safari for macOS, on Safari for iOS from version 15 and on Chrome for Android. The browser has to support WebGL 2 and WebAssembly and be 64-bit. Among the technical limitations the manual lists: managed C# threads are not supported, browsers do not allow direct access to IP sockets, and audio runs on a simplified back end built on the Web Audio API.
Common mistakes
The most frequent one is loading the original CAD model into the browser. File size and polygon count slow the page down, especially on phones. Prepare an optimised version of the model and test the configurator on the devices your customers actually use.
If you are planning a project, our guide to the 3D product configurator explains how we approach it.
We look at your models, options and integrations and tell you how to bring your product online in 3D.
See 3D product configuratorsLast updated · Back to the glossary