a bit more attempt at shader work

This commit is contained in:
muskit
2023-10-08 19:11:44 -07:00
parent 661d550821
commit b2a0daaf85
4 changed files with 45 additions and 37 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ uv1_scale = Vector3(-1, 1, 1)
[sub_resource type="ViewportTexture" id="ViewportTexture_w20vk"]
viewport_path = NodePath("Mask")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2pv0x"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_a4jpv"]
resource_local_to_scene = true
shader = ExtResource("3_rjbyl")
shader_parameter/mask = SubResource("ViewportTexture_w20vk")
@@ -161,7 +161,7 @@ anchor_mode = 0
editor_draw_screen = false
[node name="Background" parent="2D Viewport/Viewport Control" instance=ExtResource("2_8g6gv")]
material = SubResource("ShaderMaterial_2pv0x")
material = SubResource("ShaderMaterial_a4jpv")
layout_mode = 1
offset_top = -1920.0
offset_right = 1920.0