mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:37:19 +02:00
Set highp float precision for material values
This commit is contained in:
parent
8e0886667e
commit
e47173a3d9
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
||||||
|
|
||||||
// The material values (at least the material key) must be precisely bitwise accurate
|
// 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
|
// 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 {
|
struct Material {
|
||||||
PRECISIONQ vec4 _emissiveOpacity;
|
PRECISIONQ vec4 _emissiveOpacity;
|
||||||
|
|
Loading…
Reference in a new issue