mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:17:28 +02:00
Restore default precision qualifier (needed for pixel)
This commit is contained in:
parent
1b08ce6ac2
commit
82f9416b3f
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
|
// 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
|
#ifdef GL_ES
|
||||||
|
precision highp float;
|
||||||
#define BITFIELD highp int
|
#define BITFIELD highp int
|
||||||
#define PRECISIONQ highp
|
#define PRECISIONQ highp
|
||||||
#else
|
#else
|
||||||
|
@ -70,5 +71,7 @@ const BITFIELD OCCLUSION_MAP_BIT = 0x00004000;
|
||||||
const BITFIELD LIGHTMAP_MAP_BIT = 0x00008000;
|
const BITFIELD LIGHTMAP_MAP_BIT = 0x00008000;
|
||||||
const BITFIELD SCATTERING_MAP_BIT = 0x00010000;
|
const BITFIELD SCATTERING_MAP_BIT = 0x00010000;
|
||||||
|
|
||||||
|
#ifdef GL_ES
|
||||||
|
precision lowp float;
|
||||||
|
#endif
|
||||||
<@endif@>
|
<@endif@>
|
||||||
|
|
Loading…
Reference in a new issue