Awesome
WebGPU-Experiments
Demos and experiments in WebGPU technology. The focus is especially on compute shaders.
Demo
Description
WebGPU Features
Shows the features and limits of the selected GPU. Two different GPU types can be selected. Either "high-performance" or "low-power". This plays only a role, if you have more than one GPU in your system.
Simple Render of Texture
Simple texture rendering. The image is transferred into a texture and is rendered via the render pipeline.
Global illumination
Conversion from the smallpt raytracer into a shader.
Main Source: https://www.shadertoy.com/view/4sfGDB
Translated from GLSL to WGSL.
Protean Clouds
Source: https://www.shadertoy.com/view/3l23Rh
Translated from GLSL to WGSL.
Collatz Conjecture
Source: https://github.com/gfx-rs/wgpu/tree/trunk/examples/hello-compute
Voronoise
Source: https://www.shadertoy.com/view/Xd23Dh
Translated from GLSL to WGSL.
FBM
A Noise + FBM shader.
Diffuse Raytracing
Global illumination with diffuse scattering based on ray-triangle intersections.
2D Light
Original Source: https://www.shadertoy.com/view/4dfXDn
Translated from GLSL to WGSL.
2D Light Propagation
Light Propagation based on circular harmonics.
Original Source: https://www.shadertoy.com/view/fld3R4
Translated from GLSL to WGSL.
Signed Distance Field
Source: https://www.shadertoy.com/view/tdjBzG
Translated from GLSL to WGSL.
Fluid Simulation
Tutorial
https://sotrh.github.io/learn-wgpu/beginner/tutorial5-textures/#loading-an-image-from-a-file