diff --git a/src/client/main.ts b/src/client/main.ts index 5d4134b..54fcd10 100644 --- a/src/client/main.ts +++ b/src/client/main.ts @@ -32,9 +32,9 @@ function main() { uniform mat4 uviewMatrix; uniform mat4 umodelMatrix; - varying lowp vec4 vColor; - varying lowp vec4 vNormal; - varying lowp vec3 vPosition; + varying highp vec4 vColor; + varying highp vec4 vNormal; + varying highp vec3 vPosition; void main() { gl_Position = uProjectionMatrix * @@ -48,11 +48,11 @@ function main() { `; const fsSource = ` - precision mediump float; + precision highp float; - varying lowp vec4 vColor; - varying lowp vec4 vNormal; - varying lowp vec3 vPosition; + varying highp vec4 vColor; + varying highp vec4 vNormal; + varying highp vec3 vPosition; vec3 extremize(vec3 v, float n) { if (v.x > n / 2.)