aboutsummaryrefslogtreecommitdiff
path: root/shaders/line.frag
diff options
context:
space:
mode:
authorccolin2021-01-03 19:55:04 +0100
committerccolin2021-01-03 19:55:04 +0100
commit5326f294ceb95f1b535d145b5fdbdc221f560d53 (patch)
treea5d9dee2ebfa6413aedd764e901f3df994888614 /shaders/line.frag
parentec4017bb0ff221c5c3e192a165c8d60a54f3bedc (diff)
add option to draw trajectories
Diffstat (limited to 'shaders/line.frag')
-rw-r--r--shaders/line.frag5
1 files changed, 5 insertions, 0 deletions
diff --git a/shaders/line.frag b/shaders/line.frag
new file mode 100644
index 0000000..ba83ada
--- /dev/null
+++ b/shaders/line.frag
@@ -0,0 +1,5 @@
+uniform vec3 color;
+
+void main() {
+ gl_FragColor = vec4(color, 1);
+}