diff options
author | nextdaydelivery <12willettsh@gmail.com> | 2022-02-19 13:24:56 +0000 |
---|---|---|
committer | nextdaydelivery <12willettsh@gmail.com> | 2022-02-19 13:24:56 +0000 |
commit | 3000dd17a482843ccf320d594d2dd39eb59145e8 (patch) | |
tree | e10b237bbbc852391ed1449dd9ccca022986cfa6 /src/main/resources | |
parent | d8877f477cf737a30503facbc37c71c455d1b8ba (diff) | |
download | OneConfig-3000dd17a482843ccf320d594d2dd39eb59145e8.tar.gz OneConfig-3000dd17a482843ccf320d594d2dd39eb59145e8.tar.bz2 OneConfig-3000dd17a482843ccf320d594d2dd39eb59145e8.zip |
basically do some theme stuff
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/assets/oneconfig/fonts/font.ttf | bin | 316100 -> 0 bytes | |||
-rw-r--r-- | src/main/resources/assets/oneconfig/shaders/rect.vsh | 10 | ||||
-rw-r--r-- | src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh | 18 |
3 files changed, 0 insertions, 28 deletions
diff --git a/src/main/resources/assets/oneconfig/fonts/font.ttf b/src/main/resources/assets/oneconfig/fonts/font.ttf Binary files differdeleted file mode 100644 index 76a215c..0000000 --- a/src/main/resources/assets/oneconfig/fonts/font.ttf +++ /dev/null diff --git a/src/main/resources/assets/oneconfig/shaders/rect.vsh b/src/main/resources/assets/oneconfig/shaders/rect.vsh deleted file mode 100644 index 51ed6ee..0000000 --- a/src/main/resources/assets/oneconfig/shaders/rect.vsh +++ /dev/null @@ -1,10 +0,0 @@ -#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 diff --git a/src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh b/src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh deleted file mode 100644 index f0bec7c..0000000 --- a/src/main/resources/assets/oneconfig/shaders/rounded_rect.fsh +++ /dev/null @@ -1,18 +0,0 @@ -#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 |