It works for me:
pixelate.blend (656.8 KB)
There are just 2 changes:
gl_TexCoord[0] is replaced with bgl_TexCoord.xy (in vec4 bgl_TexCoord; declaration)
gl_FragColor is replaced with fragColor (out vec4 fragColor; declaration)
It works for me:
There are just 2 changes:
gl_TexCoord[0] is replaced with bgl_TexCoord.xy (in vec4 bgl_TexCoord; declaration)
gl_FragColor is replaced with fragColor (out vec4 fragColor; declaration)