New Effect: glow
effect to add a glow around an object.
Once we have blur, this is easy:
1) render the original object
2) render a slightly larger version of the Object we want to blur with a shader that draws it in a 'light' solid color to a FBO
3) blur this
4) render it on top of the original, partly-transparent.
Updated by Leszek Koltunski about 3 years ago
Suppose we are rendering a glowing 3D cube. Then we need to be able to superimpose a partially transparent, larger (and blurred) version of the cube on top of the original cube. This needs order-independent transparency. Thus, the whole thing depends on #15.