WebGPU Samples
Github
helloTriangle
helloTriangleMSAA
resizeCanvas
rotatingCube
twoCubes
texturedCube
instancedCube
fractalCube
cubemap
computeBoids
animometer
videoUploading
imageBlur
shadowMapping
reversedZ
deferredRendering
particles
Image Blur
See it on Github!
This example shows how to blur an image using a WebGPU compute shader.
main.ts
./blur.wgsl
../../shaders/fullscreenTexturedQuad.wgsl
Update
Update