Skip to content

Latest commit

 

History

History
191 lines (154 loc) · 18 KB

readme.md

File metadata and controls

191 lines (154 loc) · 18 KB

Awesome WebGPU Awesome

Lovely curated list of WebGPU resources, libraries and tools.

WebGPU is a work in progress Web standard from W3C for modern 3D and GPU computing. Its purpose is to get the best performances on recent GPUs from desktop to mobile. Unlike WebGL, WebGPU is not a port of an existing native API. It borrows concepts from Metal, Vulkan and Direct3D12.

Contents

Websites

Browser support

Try out WebGPU

  • Chrome - WebGPU supported by default in Windows and macOS.
  • Chrome for Android - WebGPU supported by default.
  • Edge - WebGPU supported by default.
  • Firefox Nightly - Go to about:config and set dom.webgpu.enabled to true.
  • Safari - Enable the Develop menu by going to SafariSettingsAdvancedShow features for web developers. Then in the Develop menu or in Settings, you can enable WebGPU in Feature FlagsWebGPU.
  • iOS Safari - You can enable WebGPU in SettingsSafariAdvancedFeature FlagsWebGPU.

Articles

Tutorials

Books

Libraries

  • Babylon.js - Open game and rendering engine.
  • Three.js - Easy-to-use, lightweight, general-purpose 3D library.
  • Dawn - Google implementation that powers WebGPU in Chromium, can be used as a standalone package.
  • wgpu - Mozilla implementation used in Firefox. Like Dawn, can be used as a standalone package.
  • webgpu-headers - C/C++ headers.
  • sokol - Simple STB-style cross-platform libraries for C and C++.
  • RedGPU - JavaScript WbeGPU library, by @redcamel.
  • WebGPU .NET - .NET bindings, built on top of wgpu.
  • Deno - Runtime for JavaScript, TypeScript, and WebAssembly based on the V8 engine.
  • RedCube - glTF viewer based on a WebGPU backend.
  • hwoa-rang-gpu - Micro WebGPU rendering & compute library.
  • wgsl_reflect - A WebGPU Shading Language parser and reflection library for JavaScript.
  • Arche Graphics - WebGPU Graphics Engine.
  • WebGPU-C++ - A single-file zero-overhead C++ idiomatic wrapper, by @eliemichel.
  • Use.GPU - Reactive/declarative WebGPU runtime.
  • GEngine - A basic rendering engine based on WebGPU, by junwei.gu.
  • Thimbleberry - Reusuable WebGPU shaders and support functions.
  • WebRTX - WebGPU Ray Tracing Extension.
  • SWGPU - A Simple WebGPU Game Engine.

Debuggers and Profilers

Gists

Demos

Right now, demos work best on Chrome/Edge.

Videos

Presentations

Community

Bug reporting

Contributions welcome! Read the contribution guidelines first.