diff options
Diffstat (limited to 'src/location/quickmapitems/rhi/shaders/polygon.frag')
-rw-r--r-- | src/location/quickmapitems/rhi/shaders/polygon.frag | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/location/quickmapitems/rhi/shaders/polygon.frag b/src/location/quickmapitems/rhi/shaders/polygon.frag new file mode 100644 index 00000000..9b9727b6 --- /dev/null +++ b/src/location/quickmapitems/rhi/shaders/polygon.frag @@ -0,0 +1,16 @@ +#version 440 + +layout(location = 0) out vec4 fragColor; + +layout(std140, binding = 0) uniform buf { + mat4 qt_Matrix; + mat4 mapProjection; + vec4 center; + vec4 center_lowpart; + float wrapOffset; + vec4 color; +}; + +void main() { + fragColor = color; +} |