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); }