Skip to content

Commit 46eb8ba

Browse files
Make axons more transparent
1 parent ace2291 commit 46eb8ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

res/shaders/Lines.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ out vec4 fragColor;
66

77
void main()
88
{
9-
fragColor = vec4(pass_color.rgb, 1);
9+
fragColor = vec4(pass_color.rgba);
1010
}

res/shaders/PassThrough.vert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void main()
2121
// Axon
2222
if (type == 2)
2323
{
24-
color = vec4(0.56, 0.56, 0.56, 0.1);
24+
color = vec4(0.56, 0.56, 0.56, 0.2);
2525
}
2626
// Basal dendrite
2727
else if (type == 3)

0 commit comments

Comments
 (0)