Skip to content

Commit

Permalink
Update GLSLCompat.glsllib
Browse files Browse the repository at this point in the history
  • Loading branch information
yaRnMcDonuts authored Oct 26, 2024
1 parent 96328ae commit 771592c
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions jme3-core/src/main/resources/Common/ShaderLib/GLSLCompat.glsllib
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
#ifdef FRAGMENT_SHADER
precision highp float;
precision highp int;
#if __VERSION__ >= 130
precision highp sampler2DArray;
#endif
precision highp sampler2DShadow;
precision highp samplerCube;
precision highp sampler3D;
precision highp sampler2D;
#if __VERSION__ >= 310
precision highp sampler2DMS;
#endif

#ifdef GL_ES
#ifdef FRAGMENT_SHADER
precision highp float;
precision highp int;
#if __VERSION__ >= 130
precision highp sampler2DArray;
#endif
precision highp sampler2DShadow;
precision highp samplerCube;
precision highp sampler3D;
precision highp sampler2D;
#if __VERSION__ >= 310
precision highp sampler2DMS;
#endif
#endif
#endif

#if defined GL_ES
Expand Down

0 comments on commit 771592c

Please sign in to comment.