Here is a pic:
And there is a working demo:
Based on the example with Selective Bloom.
The slight change comes with the idea that instead of swapping materials between current ones and total black, we use a global variable for a uniform that gets
1 in case of what state of scene we need: render with bloom when unnecessary object must be black (
1) or render without darkening (
0). That variable sets for all the materials via
.onBeforeCompile(). Having that uniform we can create custom effects in materials for “bloom” state.
Just press that
Tanze! button and enjoy. ( so the sound worked in both FF and Chrome )
PS Soundtrack: Chris Keya - Totentanz