Update client/shaders/nodes_shader/opengl_fragment.glsl

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
GefullteTaubenbrust2 2024-04-04 21:16:01 +02:00 committed by GitHub
parent 877607240a
commit 38391c933c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ vec4 perm(vec4 x)
return mod(((x * 34.0) + 1.0) * x, 289.0);
}
#if ((defined(MATERIAL_WAVING_LIQUID) && defined(ENABLE_WATER_REFLECTIONS)) || defined(ENABLE_BUMPMAPS))
#if (defined(MATERIAL_WAVING_LIQUID) && defined(ENABLE_WATER_REFLECTIONS)) || defined(ENABLE_BUMPMAPS)
float snoise(vec3 p)
{
vec3 a = floor(p);