mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-09 03:14:20 +02:00
Restore default precision qualifier (needed for pixel)
This commit is contained in:
parent
3effb6097b
commit
72e02d6207
1 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
// 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;
|
||||
#define BITFIELD highp int
|
||||
#define PRECISIONQ highp
|
||||
#else
|
||||
|
@ -70,5 +71,7 @@ const BITFIELD OCCLUSION_MAP_BIT = 0x00004000;
|
|||
const BITFIELD LIGHTMAP_MAP_BIT = 0x00008000;
|
||||
const BITFIELD SCATTERING_MAP_BIT = 0x00010000;
|
||||
|
||||
|
||||
#ifdef GL_ES
|
||||
precision lowp float;
|
||||
#endif
|
||||
<@endif@>
|
||||
|
|
Loading…
Reference in a new issue