WebGPU is a modern graphics API designed with modern GPUs in mind and brings these powerful graphics capabilities to web browsers.
In browsers, WebGPU is built on top of DirectX 12, Vulcan, or Metal depending on your device.
WebGPU also provides graphics features not available with WebGL2. However, WebGPU isn’t as broadly supported by browsers as WebGLA JavaScript API that renders 2D and 3D graphics in a web browser. The Unity Web 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, and is considered experimental and not recommended for production usage.
WebGPU was designed to efficiently utilize modern GPUs, and provides modern graphics features not available with WebGL.
The following is a list of some of the features of WebGPU:
WebGPU does not support the following features:
WebGPU also has some limitations you need to be aware of. For more information, refer to Limitations of WebGPU.