Some devices have problems with high precision floats. I have tested Nexus 4 and Nexus 7 with Android 4.4 having lightning artifacts when using highp floats but work fine with mediump.
@@ -1,6 +1,10 @@
#ifdef OPENGL_ES
+#ifdef OPENGL_ES_MEDIUMP
+precision mediump float;
+#else
precision highp float;
#endif
+#endif
#ifndef DIRECTIONAL_LIGHT_COUNT
#define DIRECTIONAL_LIGHT_COUNT 0
@@ -1,7 +1,11 @@
#extension GL_OES_standard_derivatives : enable
///////////////////////////////////////////////////////////
// Uniforms