File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
jme3-core/src/main/resources/Common/ShaderLib Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 1- #ifdef FRAGMENT_SHADER
2- precision highp float;
3- precision highp int;
4- #if __VERSION__ >= 130
5- precision highp sampler2DArray;
6- #endif
7- precision highp sampler2DShadow;
8- precision highp samplerCube;
9- precision highp sampler3D;
10- precision highp sampler2D;
11- #if __VERSION__ >= 310
12- precision highp sampler2DMS;
13- #endif
14-
1+ #ifdef GL_ES
2+ #ifdef FRAGMENT_SHADER
3+ precision highp float;
4+ precision highp int;
5+ #if __VERSION__ >= 130
6+ precision highp sampler2DArray;
7+ #endif
8+ precision highp sampler2DShadow;
9+ precision highp samplerCube;
10+ precision highp sampler3D;
11+ precision highp sampler2D;
12+ #if __VERSION__ >= 310
13+ precision highp sampler2DMS;
14+ #endif
15+ #endif
1516#endif
1617
1718#if defined GL_ES
You can’t perform that action at this time.
0 commit comments