Exported assets are free to use commercially and modify.

DepthLimitedBlurShader.js

DepthLimitedBlurShader

Depth-aware blur

DepthLimitedBlurShader
Preview requires WebGL2. You can still download the demo.
Drag to orbit · Middle-drag to pan · Scroll to zoomOne finger to orbit · Two fingers to pan or zoom

Softens shadows while trying not to smear their colors onto nearby objects.

Official source