aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render/shaders/SharedValues.hpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-11-05 16:11:05 +0000
committerVaxry <[email protected]>2024-11-05 16:11:05 +0000
commit0920572e703201368c9fbcc9108ce1888600ffa2 (patch)
tree3f11edb6e4c9d7ffcb02bdcc75caac6b63121379 /src/render/shaders/SharedValues.hpp
parent55ccb1a8cf2c8541a32890e9b76e7c20fc9227cd (diff)
downloadHyprland-0920572e703201368c9fbcc9108ce1888600ffa2.tar.gz
Hyprland-0920572e703201368c9fbcc9108ce1888600ffa2.zip
shaders: improve corner AA in borders shader
Diffstat (limited to 'src/render/shaders/SharedValues.hpp')
-rw-r--r--src/render/shaders/SharedValues.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/shaders/SharedValues.hpp b/src/render/shaders/SharedValues.hpp
new file mode 100644
index 00000000..9a74c892
--- /dev/null
+++ b/src/render/shaders/SharedValues.hpp
@@ -0,0 +1,3 @@
+#pragma once
+
+constexpr float SHADER_ROUNDED_SMOOTHING_FACTOR = M_PI / 5.34665792551; \ No newline at end of file