Test blend()

If blurring is OK we are just one step from blending.

Now in bloomblend.frag, let's move back to use the blend colour.

    // set "result = bloomColour" to test blurring
    // vec3 result = bloomColour;
    vec3 result = blendColour;

Result

Simple Additive

If you use simple additive blending, you are going to see something similar to the following

10 blur passes:

50 blur passes

High Dynamic Range

If you use High Dynamic Range, you will see something similar to the following

10 blur passes:

50 blur passes

Last updated