diff options
Diffstat (limited to 'components/HackButton.tscn')
-rw-r--r-- | components/HackButton.tscn | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/HackButton.tscn b/components/HackButton.tscn index e3f61bb..2241ac6 100644 --- a/components/HackButton.tscn +++ b/components/HackButton.tscn @@ -4,12 +4,12 @@ [ext_resource path="res://components/HackButton.gd" type="Script" id=2] [sub_resource type="Shader" id=2] -code = "shader_type canvas_item; -uniform vec4 glow_color : hint_color = vec4(1,1,1,1); - -void fragment() { - COLOR = texture(TEXTURE, UV) + glow_color; -} +code = "shader_type canvas_item;
+uniform vec4 glow_color : hint_color = vec4(1,1,1,1);
+
+void fragment() {
+ COLOR = texture(TEXTURE, UV) + glow_color;
+}
" [sub_resource type="ShaderMaterial" id=3] |