Skip to content

Commit

Permalink
Merge pull request #25 from jecovier/fix/issue-24
Browse files Browse the repository at this point in the history
[issue-24] fix: update how sets shader parameters
  • Loading branch information
jabsatz authored Apr 16, 2023
2 parents 2c6c015 + 8aced4e commit 6f2149c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions addons/scene_manager/SceneManager.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

[sub_resource type="ShaderMaterial" id="ShaderMaterial_0imdi"]
shader = ExtResource( "2_853wq" )
shader_param/dissolve_amount = 0.0
shader_param/fade_color = Color(0, 0, 0, 1)
shader_param/fade = null
shader_param/inverted = null
shader_parameter/dissolve_amount = 0.0
shader_parameter/fade_color = Color(0, 0, 0, 1)
shader_parameter/fade = null
shader_parameter/inverted = null

[node name="SceneManager" type="Node2D"]
script = ExtResource( "1_22br8" )
Expand Down
2 changes: 1 addition & 1 deletion addons/scene_manager/ShaderFade.tres
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource_name = "ShaderFade"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("CanvasLayer/ColorRect:material:shader_param/dissolve_amount")
tracks/0/path = NodePath("CanvasLayer/ColorRect:material:shader_parameter/dissolve_amount")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
Expand Down

0 comments on commit 6f2149c

Please sign in to comment.