We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80e198 commit 1cbdcd3Copy full SHA for 1cbdcd3
jme3-core/src/main/resources/Common/ShaderLib/GLSLCompat.glsllib
@@ -1,15 +1,16 @@
1
-#ifdef FRAGMENT_SHADER
2
- precision highp float;
3
- precision highp int;
4
- precision highp sampler2DArray;
5
- precision highp sampler2DShadow;
6
- precision highp samplerCube;
7
- precision highp sampler3D;
8
- precision highp sampler2D;
9
- #if __VERSION__ >= 310
10
- precision highp sampler2DMS;
11
- #endif
12
-
+#ifdef GL_ES
+ #ifdef FRAGMENT_SHADER
+ precision highp float;
+ precision highp int;
+ precision highp sampler2DArray;
+ precision highp sampler2DShadow;
+ precision highp samplerCube;
+ precision highp sampler3D;
+ precision highp sampler2D;
+ #if __VERSION__ >= 310
+ precision highp sampler2DMS;
+ #endif
13
14
#endif
15
16
#if defined GL_ES
0 commit comments