From: Joe Wreschnig Date: Thu, 2 Oct 2014 16:03:12 +0000 (+0200) Subject: Switch back to mediump, which works (better) on iOS. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=f14f9d95c686e98f91a1c5c41a37490e52fb266b;p=pwl6.git Switch back to mediump, which works (better) on iOS. --- diff --git a/src/data/shaders/noise.glsl b/src/data/shaders/noise.glsl index 84944be..8deb27e 100644 --- a/src/data/shaders/noise.glsl +++ b/src/data/shaders/noise.glsl @@ -28,7 +28,7 @@ THE SOFTWARE. */ -precision highp float; +precision mediump float; vec2 mod289(vec2 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; diff --git a/src/data/shaders/noisyblocks.frag b/src/data/shaders/noisyblocks.frag index be6e051..5b41435 100644 --- a/src/data/shaders/noisyblocks.frag +++ b/src/data/shaders/noisyblocks.frag @@ -3,7 +3,7 @@ waives all copyright and related or neighboring rights to it. */ -precision highp float; +precision mediump float; varying vec2 fTexCoord; varying vec4 fColor;