aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authornextdaydelivery <12willettsh@gmail.com>2022-02-12 09:24:51 +0000
committernextdaydelivery <12willettsh@gmail.com>2022-02-12 09:24:51 +0000
commit88df999a8ff35ea30b8fa9cf94c46dd748215581 (patch)
tree8cf665d5460fc07e15f62f9d01d9889eca76ef2b /src/main/resources
downloadOneConfig-88df999a8ff35ea30b8fa9cf94c46dd748215581.tar.gz
OneConfig-88df999a8ff35ea30b8fa9cf94c46dd748215581.tar.bz2
OneConfig-88df999a8ff35ea30b8fa9cf94c46dd748215581.zip
swoosh
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh18
-rw-r--r--src/main/resources/assets/oneconfig/textures/hudsettings.pngbin0 -> 7226 bytes
-rw-r--r--src/main/resources/assets/oneconfig/textures/hudsettings128.pngbin0 -> 1481 bytes
-rw-r--r--src/main/resources/mcmod.info19
4 files changed, 37 insertions, 0 deletions
diff --git a/src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh b/src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh
new file mode 100644
index 0000000..f0bec7c
--- /dev/null
+++ b/src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh
@@ -0,0 +1,18 @@
+#version 110
+
+uniform float u_Radius;
+uniform vec4 u_InnerRect;
+
+varying vec2 f_Position;
+
+//out vec4 fragColor;
+
+void main() {
+ vec2 tl = u_InnerRect.xy - f_Position;
+ vec2 br = f_Position - u_InnerRect.zw;
+ vec2 dis = max(br, tl);
+
+ float v = length(max(vec2(0.0), dis)) - u_Radius;
+ float a = 1.0 - smoothstep(0.0, 1.0, v);
+ gl_FragColor = gl_Color * vec4(1.0, 1.0, 1.0, a);
+} \ No newline at end of file
diff --git a/src/main/resources/assets/oneconfig/textures/hudsettings.png b/src/main/resources/assets/oneconfig/textures/hudsettings.png
new file mode 100644
index 0000000..b901c97
--- /dev/null
+++ b/src/main/resources/assets/oneconfig/textures/hudsettings.png
Binary files differ
diff --git a/src/main/resources/assets/oneconfig/textures/hudsettings128.png b/src/main/resources/assets/oneconfig/textures/hudsettings128.png
new file mode 100644
index 0000000..b9726d5
--- /dev/null
+++ b/src/main/resources/assets/oneconfig/textures/hudsettings128.png
Binary files differ
diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info
new file mode 100644
index 0000000..6e83630
--- /dev/null
+++ b/src/main/resources/mcmod.info
@@ -0,0 +1,19 @@
+[
+ {
+ "modid": "oneconfig",
+ "name": "OneConfig",
+ "description": "OneConfig",
+ "version": "${version}",
+ "mcversion": "${mcversion}",
+ "url": "",
+ "updateUrl": "",
+ "authorList": [
+ "MoonTidez",
+ "DeDiamondPro"
+ ],
+ "credits": "",
+ "logoFile": "",
+ "screenshots": [],
+ "dependencies": []
+ }
+] \ No newline at end of file