Skip to content

Commit

Permalink
fix: shader fade color now working
Browse files Browse the repository at this point in the history
  • Loading branch information
jabsatz committed Apr 6, 2022
1 parent e476780 commit dc999c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addons/scene_manager/Dissolve2d.shader
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ shader_type canvas_item;

uniform sampler2D dissolve_texture;
uniform float dissolve_amount : hint_range(0, 1);
uniform vec3 fade_color;
uniform vec4 fade_color;
uniform bool inverted;

void fragment() {
Expand Down
5 changes: 1 addition & 4 deletions demo/test.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ __meta__ = {
"_edit_use_anchors_": false
}

[node name="Button" type="Button" parent="CanvasLayer/ColorRect" groups=[
"scene_manager_entity_nodes",
"scene_manager_singleton_nodes",
]]
[node name="Button" type="Button" parent="CanvasLayer/ColorRect" groups=["scene_manager_entity_nodes", "scene_manager_singleton_nodes"]]
anchor_left = 0.4
anchor_top = 0.4
anchor_right = 0.6
Expand Down

0 comments on commit dc999c8

Please sign in to comment.