Set highp float precision for material values

This commit is contained in:
Cristian Luis Duarte 2018-04-27 17:14:48 -03:00
parent 8e0886667e
commit e47173a3d9

View file

@ -13,6 +13,9 @@
// The material values (at least the material key) must be precisely bitwise accurate
// to what is provided by the uniform buffer, or the material key has the wrong bits
#ifdef GL_ES
precision highp float;
#endif
struct Material {
PRECISIONQ vec4 _emissiveOpacity;