Skip to content

Commit

Permalink
use the same AA_RADIUS in fragment shader
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreyer committed Feb 9, 2024
1 parent 2122978 commit 34237f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WGLMakie/src/Lines.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ function lines_fragment_shader(uniforms, attributes) {
out vec4 fragment_color;
// Half width of antialiasing smoothstep
const float AA_RADIUS = 0.7071067811865476;
const float AA_RADIUS = 0.8;
// space allocated for AA
const float AA_THICKNESS = 2.0 * AA_RADIUS;
Expand Down

0 comments on commit 34237f7

Please sign in to comment.