diff --git a/vtm/resources/assets/shaders/line_aa.glsl b/vtm/resources/assets/shaders/line_aa.glsl index 3b0ac558..4087906c 100644 --- a/vtm/resources/assets/shaders/line_aa.glsl +++ b/vtm/resources/assets/shaders/line_aa.glsl @@ -1,5 +1,6 @@ #ifdef GLES -precision mediump float; +// highp is necessary to not loose texture coordinate bits +precision highp float; #endif uniform mat4 u_mvp; // uniform mat4 u_vp; diff --git a/vtm/resources/assets/shaders/line_aa_proj.glsl b/vtm/resources/assets/shaders/line_aa_proj.glsl index e2dfb095..21f2fca5 100644 --- a/vtm/resources/assets/shaders/line_aa_proj.glsl +++ b/vtm/resources/assets/shaders/line_aa_proj.glsl @@ -1,5 +1,6 @@ -#ifndef DESKTOP_QUIRKS -precision mediump float; +#ifdef GLES +// highp is necessary to not loose texture coordinate bits +precision highp float; #endif uniform mat4 u_mvp; // uniform mat4 u_vp;