From 900fba4f123798243db446d6f79e16da783fac3f Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Sun, 16 Jul 2023 19:07:42 +0200 Subject: [PATCH] no bgColor --- data/ofxMsdfgen/shaders/unitRange/GL3/shader.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/ofxMsdfgen/shaders/unitRange/GL3/shader.frag b/data/ofxMsdfgen/shaders/unitRange/GL3/shader.frag index f039352..7966f00 100644 --- a/data/ofxMsdfgen/shaders/unitRange/GL3/shader.frag +++ b/data/ofxMsdfgen/shaders/unitRange/GL3/shader.frag @@ -34,5 +34,5 @@ void main() float opacity = clamp(screenPxDistance + 0.5, 0.0, 1.0); if (opacity < 0.5) discard; - outputColor = mix(bgColor, fgColor, opacity); + outputColor = mix(fgColor, fgColor, opacity); }