summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/networkCurve.vs
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/networkCurve.vs')
-rw-r--r--gfx/gl/shaders/networkCurve.vs3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/gl/shaders/networkCurve.vs b/gfx/gl/shaders/networkCurve.vs
index 6c56e93..f51bb87 100644
--- a/gfx/gl/shaders/networkCurve.vs
+++ b/gfx/gl/shaders/networkCurve.vs
@@ -6,6 +6,7 @@ layout(location = 2) in ivec3 v_centre;
layout(location = 3) in float v_reps;
layout(location = 4) in float v_aangle;
layout(location = 5) in float v_bangle;
+layout(location = 6) in float v_radius;
flat out ivec3 apos;
flat out ivec3 bpos;
@@ -13,6 +14,7 @@ flat out ivec3 cpos;
flat out float reps;
flat out float aangle;
flat out float bangle;
+flat out float radius;
void
main()
@@ -23,4 +25,5 @@ main()
reps = v_reps;
aangle = v_aangle;
bangle = v_bangle;
+ radius = v_radius;
}