feat(ui): Implement custom UI shaders for soft shadows and glass effects

This commit is contained in:
2026-03-08 22:01:42 -04:00
parent c84a6d7dfc
commit 0b49b3ad39
3 changed files with 88 additions and 0 deletions
+5
View File
@@ -231,6 +231,11 @@ def apply(palette_name: str) -> None:
style.item_spacing = imgui.ImVec2(8.0, 4.0)
style.item_inner_spacing = imgui.ImVec2(4.0, 4.0)
style.scrollbar_size = 14.0
# Rendering anti-aliasing (Shaders/Quality)
style.anti_aliased_lines = True
style.anti_aliased_fill = True
style.anti_aliased_lines_use_tex = True
if not colours:
# Reset to imgui dark defaults