mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 03:07:45 +00:00
Don't buff out stroke width by antialias width
This commit is contained in:
parent
f677a02036
commit
70862a068f
1 changed files with 0 additions and 1 deletions
|
|
@ -162,7 +162,6 @@ void emit_point_with_width(
|
||||||
color = finalize_color(joint_color, point, unit_normal);
|
color = finalize_color(joint_color, point, unit_normal);
|
||||||
if (width == 0) scaled_anti_alias_width = -1.0; // Signal to discard in the frag shader
|
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;
|
else scaled_anti_alias_width = 2.0 * anti_alias_width * pixel_size / width;
|
||||||
width += anti_alias_width * pixel_size;
|
|
||||||
|
|
||||||
// Emit two corners
|
// Emit two corners
|
||||||
// The frag shader will receive a value from -1 to 1,
|
// The frag shader will receive a value from -1 to 1,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue