From f62718044df4d3f72cad5aba6a803da6841b255d Mon Sep 17 00:00:00 2001 From: Imbris Date: Sun, 7 Mar 2021 18:01:52 -0500 Subject: [PATCH] Fix texture sampling syntax --- assets/voxygen/shaders/include/random.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/voxygen/shaders/include/random.glsl b/assets/voxygen/shaders/include/random.glsl index d18f43d0ae..9335449111 100644 --- a/assets/voxygen/shaders/include/random.glsl +++ b/assets/voxygen/shaders/include/random.glsl @@ -32,7 +32,7 @@ float hash_fast(uvec3 q) // 2D, but using shifted 2D textures float noise_2d(vec2 pos) { - return texture(t_noise, pos).x; + return texture(sampler2D(t_noise, s_noise), pos).x; } // 3D, but using shifted 2D textures