From 5cd233aa8f3d10551af887d2c82661da0efc6e63 Mon Sep 17 00:00:00 2001 From: DrDesten <> Date: Mon, 24 Jan 2022 23:31:53 +0100 Subject: [PATCH] sqeezing out some performance --- shaders/lib/math.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/lib/math.glsl b/shaders/lib/math.glsl index e17b0f7..80cfd0d 100644 --- a/shaders/lib/math.glsl +++ b/shaders/lib/math.glsl @@ -167,7 +167,7 @@ float ign(vec2 co) { // Interlieved Gradient Noise, very noice noise ( ͡° ͜ʖ } float ditherColor(vec2 co) { - return Bayer8(floor(co)) * (1./256) - (0.5/256); + return ign(floor(co)) * (1./256) - (0.5/256); } float checkerboard(vec2 co) {