Version: 2022.1
WebGL browser access to device features
Build your WebGL application

Build and distribute a WebGL application

Before building and distributing a WebGLA JavaScript API that renders 2D and 3D graphics in a web browser. The Unity WebGL build option allows Unity to publish content as JavaScript programs which use HTML5 technologies and the WebGL rendering API to run Unity content in a web browser. More info
See in Glossary
application, find out how to perform the following tasks:

Page Description
Build your WebGL application Build a WebGL application.
WebGL templates Learn how to access WebGL templates.
Configure a WebGL Canvas size Configure the visible size of the WebGL canvas element.
Compressed builds and server configuration Deploy a WebGL build.
WebGL server configuration code samples Code samples to configure Nginx, Apache, and IIS servers with WebGL builds.

Additional resources:

WebGL browser access to device features
Build your WebGL application