File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
library/src/jp/co/cyberagent/android/gpuimage Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ public class GPUImageLookupFilter extends GPUImageTwoInputFilter {
26
26
" uniform sampler2D inputImageTexture;\n " +
27
27
" uniform sampler2D inputImageTexture2; // lookup texture\n " +
28
28
" \n " +
29
- " uniform float intensity;\n " +
29
+ " uniform lowp float intensity;\n " +
30
30
" \n " +
31
31
" void main()\n " +
32
32
" {\n " +
33
- " lowp vec4 textureColor = texture2D(inputImageTexture, textureCoordinate);\n " +
33
+ " highp vec4 textureColor = texture2D(inputImageTexture, textureCoordinate);\n " +
34
34
" \n " +
35
- " mediump float blueColor = textureColor.b * 63.0;\n " +
35
+ " highp float blueColor = textureColor.b * 63.0;\n " +
36
36
" \n " +
37
- " mediump vec2 quad1;\n " +
37
+ " highp vec2 quad1;\n " +
38
38
" quad1.y = floor(floor(blueColor) / 8.0);\n " +
39
39
" quad1.x = floor(blueColor) - (quad1.y * 8.0);\n " +
40
40
" \n " +
41
- " mediump vec2 quad2;\n " +
41
+ " highp vec2 quad2;\n " +
42
42
" quad2.y = floor(ceil(blueColor) / 8.0);\n " +
43
43
" quad2.x = ceil(blueColor) - (quad2.y * 8.0);\n " +
44
44
" \n " +
You can’t perform that action at this time.
0 commit comments