This commit is contained in:
CodingJellyfish 2024-01-06 11:39:16 +08:00 committed by GitHub
parent 42d4eaae96
commit b35cd18eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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;