Morning
How would you blur a RGBA value?
I found this (https://github.com/mattdesl/lwjgl-basics/wiki/ShaderLesson5) tutorial for blurring texture and I was wondering if it is possible to do this with normal colour values. For example you would render a square:
GL11.glBegin(GL_QUADS);
{
GL11.glVertex2f(0, 0);
GL11.glVertex2f(0, 50);
GL11.glVertex2f(50, 50);
GL11.glVertex2f(50, 0);
}
GL11.glEnd();
And for there you would use a shader program to blur it.
Any idea what this shader program may look like and if so what is the best way I can implement it?
Thanks in advance ;D