WebGPU Examples

C99 WebGPU examples compiled to WebAssembly via WAjic

⚠ Your browser does not support WebGPU. Examples require Chrome 113+ or Edge 113+. Tiles are shown for reference only.
A-Buffer (OIT) Animometer Aquarium Blending Blinn-Phong Lighting Bloom (Fullscreen Blur) Cameras Cascaded Shadow Mapping Clear Screen Clustered Shading Compute Boids Compute Cloth Compute Metaballs Compute N-Body Compute Shader Particle System Compute Particles Easing Compute Particles WebGPU Logo Compute Ray Tracing Compute Shader Image Processing Conway Game of Life Conway Game of Life (Paletted Blurring) Coordinate System Cornell Box (Lightmap Raytracer) Cube Reflection Cubemap Deferred Multi-Sampling Deferred Rendering Deferred Shading Deferred Shadows Dynamic Uniform Buffer Equirectangular Image Fluid Simulation Game of Life Gears Gerstner Waves glTF PBR Viewer Hello Triangle Image Blur ImGui Overlay Input Attachments Instanced Cube Instanced Mesh Rendering Metaballs Minimal MSAA Line Multisampling (MSAA) N-Body Simulation Normal Mapping OBJ PBR with IBL Occlusion Query Offscreen Rendering Order Independent Transparency Out-of-bounds Viewport Parallax Mapping CPU Particle System Pipeline Constants Pipeline State Objects Point Light Shadows (Cubemap) Points Post-processing Primitive Picking Pristine Grid Procedural Mesh Projected Shadow Mapping Pseudorandom Number Generation Quake 2 BSP Renderer Radial Blur GPU Raytracer Render Bundles Reversed Z Sampler Parameters Shadow (Depth Array) Shadow Mapping Shadertoy (Seascape) Skinned Mesh Spherical Environment Mapping Square Screen Space Ambient Occlusion (SSAO) Stencil Buffer Outlines Subpasses (G-Buffer + Transparency) Terrain Mesh Terrain Tessellation Text Overlay Text Rendering MSDF 3D Texture Texture Array Texture Cubemap Texture Cubemap Array Textured Cube Textured Quad Tile Map Timestamp Query Triangle Two Cubes Vertex Buffer Volume Rendering (3D Texture) Voxel Space Water Simulation Wireframe Wireframe Vertex Pulling