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

@ -0,0 +1,41 @@
[gd_scene format=3]
[ext_resource type="Script" path="res://panels/testing/testing_module.gd" id="1"]
[ext_resource type="Shader" path="res://shaders/vial_fill.gdshader" id="2"]
[node name="TestingModule" type="PanelContainer"]
anchors_preset = 0
script = ExtResource("1")
[node name="VialFill" type="ColorRect" parent="."]
unique_name_in_owner = true
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
theme_constant_overrides/margin_left = 12
theme_constant_overrides/margin_top = 12
theme_constant_overrides/margin_right = 12
theme_constant_overrides/margin_bottom = 12
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
text = "Testing"
[node name="Spacer" type="Control" parent="MarginContainer/VBoxContainer"]
size_flags_vertical = 3
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
horizontal_alignment = 1
size_flags_horizontal = 4