aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/oneconfig/shaders
diff options
context:
space:
mode:
authornextdaydelivery <12willettsh@gmail.com>2022-02-16 18:53:30 +0000
committernextdaydelivery <12willettsh@gmail.com>2022-02-16 18:53:30 +0000
commitd8877f477cf737a30503facbc37c71c455d1b8ba (patch)
tree856a646fe63faf21e8b9c9af10215cbb3a7dcf0a /src/main/resources/assets/oneconfig/shaders
parent8e718cdd0905c8aee4dda410e3c559bcf2a28dec (diff)
downloadOneConfig-d8877f477cf737a30503facbc37c71c455d1b8ba.tar.gz
OneConfig-d8877f477cf737a30503facbc37c71c455d1b8ba.tar.bz2
OneConfig-d8877f477cf737a30503facbc37c71c455d1b8ba.zip
do round rectangles
Diffstat (limited to 'src/main/resources/assets/oneconfig/shaders')
-rw-r--r--src/main/resources/assets/oneconfig/shaders/rect.vsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/resources/assets/oneconfig/shaders/rect.vsh b/src/main/resources/assets/oneconfig/shaders/rect.vsh
new file mode 100644
index 0000000..51ed6ee
--- /dev/null
+++ b/src/main/resources/assets/oneconfig/shaders/rect.vsh
@@ -0,0 +1,10 @@
+#version 110
+
+varying vec2 f_Position;
+
+void main() {
+ f_Position = gl_Vertex.xy;
+
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
+ gl_FrontColor = gl_Color;
+} \ No newline at end of file