@margoengine/post/depth · The scene depth in a texture of its own, drawn before the main pass. The water is a WgslMaterial that reads it: foam where rocks meet the surface, darker where the water is deep.
@margoengine/post/depth
WgslMaterial
Starting WebGPU…