Fix noise rendering on mobiles

This commit is contained in:
schmelczerandras 2020-10-19 10:53:20 +02:00
parent 7b483c197c
commit 1657ca21b1
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,10 @@
#version 100 #version 100
precision lowp float; #ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
varying vec2 uvCoordinates; varying vec2 uvCoordinates;

View file

@ -1,6 +1,6 @@
#version 300 es #version 300 es
precision lowp float; precision highp float;
in vec2 uvCoordinates; in vec2 uvCoordinates;