diff --git a/src/render/opengl/shaders/noise.frag b/src/render/opengl/shaders/noise.frag index 02995cf..57b81fe 100644 --- a/src/render/opengl/shaders/noise.frag +++ b/src/render/opengl/shaders/noise.frag @@ -9,7 +9,7 @@ vec3 noiseNormal2d(vec2 location, float detail) vec3 normal = vec3(0.0, 0.0, 0.0); for (float scaling = 1.0; scaling < 400.0; scaling *= 1.5) { - normal += texture2D(simplexSampler, location * 0.01 * scaling).xyz; + normal += texture(simplexSampler, location * 0.01 * scaling).xyz; } return normalize(normal); }