Skip to content

Commit

Permalink
Fix #4969 (#4985)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingJellyfish authored Jan 6, 2024
1 parent 42d4eaa commit b35cd18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/shaders/combine_diffuse_color.frag
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ uniform sampler2D specular_map;
uniform sampler2D ssao_tex;
uniform sampler2D normal_color;
uniform sampler2D diffuse_color;
#if defined(GL_ES) && defined(GL_FRAGMENT_PRECISION_HIGH)
uniform highp sampler2D depth_stencil;
#else
uniform sampler2D depth_stencil;
#endif
uniform sampler2D light_scatter;

uniform vec4 bg_color;
Expand Down
4 changes: 4 additions & 0 deletions data/shaders/pointlight.frag
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
uniform sampler2D ntex;
#if defined(GL_ES) && defined(GL_FRAGMENT_PRECISION_HIGH)
uniform highp sampler2D dtex;
#else
uniform sampler2D dtex;
#endif

flat in vec3 center;
flat in float energy;
Expand Down

0 comments on commit b35cd18

Please sign in to comment.