add testing module; integrate holographic effects into vial_fill shader with noise texture, sum-of-sines water surface, top-down lighting, foam line, and font outlines for readability

This commit is contained in:
Eric Smith 2026-05-20 15:41:26 -04:00
parent 308cf26a77
commit 7cfbf72ca5
10 changed files with 250 additions and 28 deletions

View file

@ -46,6 +46,7 @@ func _setup_shader() -> void:
mat.shader = preload("res://shaders/vial_fill.gdshader")
mat.set_shader_parameter("liquid_color", Color(0.2, 0.7, 0.4, 1.0))
mat.set_shader_parameter("fill", 0.0)
mat.set_shader_parameter("noise_tex", load("res://assets/textures/noise_100.png"))
vial_fill.material = mat
@ -61,5 +62,9 @@ func _style() -> void:
add_theme_stylebox_override("panel_focused", panel)
title_label.add_theme_color_override("font_color", Color(0.7, 0.7, 0.8, 1.0))
title_label.add_theme_constant_override("outline_size", 2)
title_label.add_theme_color_override("font_outline_color", Color(0.0, 0.0, 0.0, 0.5))
label.add_theme_color_override("font_color", Color(0.9, 0.9, 1.0, 1.0))
label.add_theme_font_size_override("font_size", 48)
label.add_theme_constant_override("outline_size", 3)
label.add_theme_color_override("font_outline_color", Color(0.0, 0.0, 0.0, 0.7))