The Web Player supports multiple graphics APIs that you can select from the Player settingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary.
Web graphics APIs help you create high-performance applications with rich visuals for web browsers across multiple platforms. They also reduce the need to worry about complicated graphics programming.
WebGL2 is the default graphics API and is compatible with most devices and browsers, but lacks more modern features that WebGPU provides.
WebGPU is a modern graphics API that enables features such as compute shadersA program that runs on the GPU. More info
See in Glossary and indirect rendering. However, WebGPU is experimental and not recommended for production usage.
Topic | Description |
---|---|
WebGL2 | Information, features, and recommendations unique to the WebGL2 graphics API. |
WebGPU (Experimental) | Information, features, and limitations unique to the WebGPU graphics API. |
Recommendations for both WebGL2 and WebGPU APIs | Recommendations and restrictions relevant to both graphics APIs. |