summaryrefslogtreecommitdiff
path: root/src/location/quickmapitems/shaders/polyline_extruded.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/quickmapitems/shaders/polyline_extruded.frag')
-rw-r--r--src/location/quickmapitems/shaders/polyline_extruded.frag20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/location/quickmapitems/shaders/polyline_extruded.frag b/src/location/quickmapitems/shaders/polyline_extruded.frag
new file mode 100644
index 00000000..3530f093
--- /dev/null
+++ b/src/location/quickmapitems/shaders/polyline_extruded.frag
@@ -0,0 +1,20 @@
+#version 440
+
+layout(location = 0) in vec4 primitivecolor;
+layout(location = 0) out vec4 fragColor;
+
+layout(std140, binding = 0) uniform buf {
+ mat4 qt_Matrix;
+ mat4 mapProjection;
+ vec4 center;
+ vec4 center_lowpart;
+ float lineWidth;
+ float aspect;
+ int miter; // currently unused
+ vec4 color;
+ float wrapOffset;
+};
+
+void main() {
+ fragColor = primitivecolor;
+}