mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
In the Canvas scene, make Previews and PreviewsSprite nodes share the same material
This commit is contained in:
parent
911c1e82b8
commit
1ad4c2357f
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=23 format=3 uid="uid://ba24iuv55m4l3"]
|
||||
[gd_scene load_steps=22 format=3 uid="uid://ba24iuv55m4l3"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/UI/Canvas/Canvas.gd" id="1"]
|
||||
[ext_resource type="Shader" path="res://src/Shaders/BlendLayers.gdshader" id="1_253dh"]
|
||||
|
@ -38,9 +38,6 @@ shader_parameter/stripe_direction = 0.5
|
|||
[sub_resource type="ShaderMaterial" id="3"]
|
||||
shader = ExtResource("17_lowhf")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tb70k"]
|
||||
shader = ExtResource("17_lowhf")
|
||||
|
||||
[node name="Canvas" type="Node2D"]
|
||||
material = SubResource("ShaderMaterial_6b0ox")
|
||||
script = ExtResource("1")
|
||||
|
@ -85,7 +82,7 @@ material = SubResource("3")
|
|||
script = ExtResource("7")
|
||||
|
||||
[node name="PreviewsSprite" type="Sprite2D" parent="."]
|
||||
material = SubResource("ShaderMaterial_tb70k")
|
||||
material = SubResource("3")
|
||||
centered = false
|
||||
|
||||
[node name="OnionPast" type="Node2D" parent="."]
|
||||
|
|
Loading…
Reference in a new issue