Exported assets are free to use commercially and modify.

LuminosityHighPassShader.js

LuminosityHighPassShader

Extract highlights

LuminosityHighPassShader
Preview requires WebGL2. You can still download the demo.
Image processing demo

Keeps only bright enough areas so a soft glow can be added to them next.

Official source