From 70862a068f75f3846f2f35d5cbc3add394184435 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 7 Aug 2024 14:46:17 -0500 Subject: [PATCH] Don't buff out stroke width by antialias width --- manimlib/shaders/quadratic_bezier_stroke/geom.glsl | 1 - 1 file changed, 1 deletion(-) diff --git a/manimlib/shaders/quadratic_bezier_stroke/geom.glsl b/manimlib/shaders/quadratic_bezier_stroke/geom.glsl index d6392d0d..1b6ecdc9 100644 --- a/manimlib/shaders/quadratic_bezier_stroke/geom.glsl +++ b/manimlib/shaders/quadratic_bezier_stroke/geom.glsl @@ -162,7 +162,6 @@ void emit_point_with_width( color = finalize_color(joint_color, point, unit_normal); if (width == 0) scaled_anti_alias_width = -1.0; // Signal to discard in the frag shader else scaled_anti_alias_width = 2.0 * anti_alias_width * pixel_size / width; - width += anti_alias_width * pixel_size; // Emit two corners // The frag shader will receive a value from -1 to 1,