WGSL 3D SDF Primitives How to use this gist: Build a sphere tracer with WebGPU (paper, paper2, youtube) Create model with sdf functions from here Add light and shadows ??? PROFIT This code tested in Chrome and Firefox, should work on PC too.