use high on painting shaders

This commit is contained in:
2019-03-05 10:21:49 +01:00
parent 317292318a
commit 9e26c67de6
13 changed files with 111 additions and 111 deletions

View File

@@ -1,6 +1,6 @@
mediump vec4 blur(sampler2D t, mediump vec2 uv)
highp vec4 blur(sampler2D t, highp vec2 uv)
{
mediump vec4 sum = texture(t, uv);
highp vec4 sum = texture(t, uv);
sum += textureOffset(t, uv, ivec2(-1, -1));
sum += textureOffset(t, uv, ivec2(-1, 0));
sum += textureOffset(t, uv, ivec2(-1, 1));