This is evolving of my thoughts on working with selective bloom.
My previous steps on that field:
This time I enhanced the approach from Totentanz and made it possible to control glowing within a single material. I mean, that if you have, for example, a plane mesh with a single
THREE.PlaneBufferGeometry() and a single material (I used
THREE.ShaderMaterial(), but you can do the same thing with enhancing of built-in materials), then you can control glowing of certain parts of the plane in the material.
Here it is: https://codepen.io/prisoner849/full/YzzbNbZ
Just a short instruction:
- Wait till it loads to 100%
- See soundcloud widget
- Click its “Play” button
PS First time of working with GSAP library, so try not to rotate scene whilst intro before the scene starts glowing
PPS Tested with Firefox and Chrome on Windows, and with Chrome on some Android phones (thanks to my colleagues )