[Solved] Blur example causing artifacts

I’m using the example blur fragment shader from here. However, it shows some random artifacts over the window.

What I’m doing:
Drawing an ofPath onto an ofFbo instance.
Draw my ofFbo instance between shader.begin() and shader.end().

My window looks like this.

Any ideas as to why this is happening? If I bypass the shader, then it works as expected, so the ofFbo is okay. Something wrong with the shader itself.

I followed another tutorial here, and it works very well.

Perhaps we should update the example too?

1 Like