File tree Expand file tree Collapse file tree
library/src/jp/co/cyberagent/android/gpuimage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ public class GPUImageLookupFilter extends GPUImageTwoInputFilter {
2626 " uniform sampler2D inputImageTexture;\n " +
2727 " uniform sampler2D inputImageTexture2; // lookup texture\n " +
2828 " \n " +
29- " uniform float intensity;\n " +
29+ " uniform lowp float intensity;\n " +
3030 " \n " +
3131 " void main()\n " +
3232 " {\n " +
33- " lowp vec4 textureColor = texture2D(inputImageTexture, textureCoordinate);\n " +
33+ " highp vec4 textureColor = texture2D(inputImageTexture, textureCoordinate);\n " +
3434 " \n " +
35- " mediump float blueColor = textureColor.b * 63.0;\n " +
35+ " highp float blueColor = textureColor.b * 63.0;\n " +
3636 " \n " +
37- " mediump vec2 quad1;\n " +
37+ " highp vec2 quad1;\n " +
3838 " quad1.y = floor(floor(blueColor) / 8.0);\n " +
3939 " quad1.x = floor(blueColor) - (quad1.y * 8.0);\n " +
4040 " \n " +
41- " mediump vec2 quad2;\n " +
41+ " highp vec2 quad2;\n " +
4242 " quad2.y = floor(ceil(blueColor) / 8.0);\n " +
4343 " quad2.x = ceil(blueColor) - (quad2.y * 8.0);\n " +
4444 " \n " +
You can’t perform that action at this time.
0 commit comments