MENU

Fun & Interesting

Introduction to WebGPU - CIS 565 GPU Programming Fall 2023

Brandon Jones (Toji) 10,439 1 year ago
Video Not Working? Fix It Now

Guest lecture I gave at the University of Pennsylvania in November 2023, covering the WebGPU graphics API. Covers a wide range of WebGPU topics, including API overview, best practices, and more. Links from the lecture: Slide Deck - https://bit.ly/webgpu-cis-565 Metaballs Demo - https://toji.github.io/webgpu-metaballs/ Babylon Ocean Demo - https://popov72.github.io/OceanDemo/dist/index.html Render Bundles Demo - https://playground.babylonjs.com/?webgpu#SYQW69#1092 This is a modified version of the same lecture I gave in person in 2022, which you can see here: https://youtu.be/Hm2_bH_8j3k?si=K3a02JffMUHC1GHg&t=148 The audio was a worse on that recording, however, and the slides spent more time comparing WebGPU to WebGL. Chapters 00:00 Intro 03:03 WebGL History 08:37 WebGPU Overview 12:47 WebGPU Demos 16:10 Web APIs vs Native APIs 21:30 "Hello Triangle" 39:51 More WebGPU concepts 43:44 Exposing Resources to Shaders 51:00 How WebGPU helps developers 57:48 WebGPU tips 1:13:10 Additional Resources 1:15:45 Q&A Part 1 1:44:03 Career Advice 1:51:38 Q&A Part 2

Comment