2018-08-05 18:46:23 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://addons/procedural_material/graph_edit.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://addons/procedural_material/nodes/material.tscn" type="PackedScene" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Shader" id=2]
|
|
|
|
|
|
|
|
code = "shader_type canvas_item;
|
|
|
|
|
|
|
|
void fragment() {
|
2018-08-19 02:11:52 +02:00
|
|
|
COLOR = vec4(1.0);
|
2018-08-04 08:05:34 +02:00
|
|
|
}
|
|
|
|
"
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
|
|
|
|
|
|
render_priority = 0
|
|
|
|
shader = SubResource( 2 )
|
|
|
|
|
2018-08-12 19:25:18 +02:00
|
|
|
[node name="GraphEdit" type="GraphEdit" index="0"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
self_modulate = Color( 1, 1, 1, 0 )
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
2018-08-05 18:46:23 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2018-08-04 08:05:34 +02:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = true
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
right_disconnects = true
|
|
|
|
scroll_offset = Vector2( 0, 0 )
|
|
|
|
snap_distance = 20
|
|
|
|
use_snap = false
|
|
|
|
zoom = 1.0
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
_sections_unfolded = [ "Material", "Mouse", "Visibility" ]
|
|
|
|
|
2018-08-05 18:46:23 +02:00
|
|
|
[node name="Material" parent="." index="0" instance=ExtResource( 2 )]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
theme = SubResource( 1 )
|
2018-08-22 07:33:50 +02:00
|
|
|
_sections_unfolded = [ "Anchor", "Margin", "Mouse", "Theme", "slot", "slot/2", "slot/3", "slot/4", "slot/5" ]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-08-05 18:46:23 +02:00
|
|
|
[node name="Timer" type="Timer" parent="." index="1"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
process_mode = 1
|
2018-08-05 18:46:23 +02:00
|
|
|
wait_time = 0.2
|
2018-08-04 08:05:34 +02:00
|
|
|
one_shot = true
|
|
|
|
autostart = false
|
|
|
|
|
2018-08-05 18:46:23 +02:00
|
|
|
[node name="SaveViewport" type="Viewport" parent="." index="2"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
arvr = false
|
|
|
|
size = Vector2( 0, 0 )
|
|
|
|
own_world = true
|
|
|
|
world = null
|
|
|
|
transparent_bg = false
|
|
|
|
msaa = 2
|
|
|
|
hdr = false
|
|
|
|
disable_3d = false
|
|
|
|
usage = 2
|
|
|
|
debug_draw = 0
|
|
|
|
render_target_v_flip = true
|
|
|
|
render_target_clear_mode = 0
|
|
|
|
render_target_update_mode = 1
|
|
|
|
audio_listener_enable_2d = false
|
|
|
|
audio_listener_enable_3d = false
|
|
|
|
physics_object_picking = false
|
|
|
|
gui_disable_input = true
|
|
|
|
gui_snap_controls_to_pixels = true
|
|
|
|
shadow_atlas_size = 0
|
|
|
|
shadow_atlas_quad_0 = 2
|
|
|
|
shadow_atlas_quad_1 = 2
|
|
|
|
shadow_atlas_quad_2 = 3
|
|
|
|
shadow_atlas_quad_3 = 4
|
|
|
|
_sections_unfolded = [ "GUI", "Render Target", "Rendering" ]
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="SaveViewport" index="0"]
|
|
|
|
|
|
|
|
material = SubResource( 3 )
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 40.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
color = Color( 1, 1, 1, 1 )
|
|
|
|
_sections_unfolded = [ "Material", "Rect" ]
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="SaveViewport" index="1"]
|
|
|
|
|
|
|
|
process_mode = 1
|
|
|
|
wait_time = 0.1
|
|
|
|
one_shot = true
|
|
|
|
autostart = false
|
|
|
|
|
2018-08-12 19:25:18 +02:00
|
|
|
[connection signal="connection_request" from="." to="." method="connect_node"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-08-12 19:25:18 +02:00
|
|
|
[connection signal="disconnection_request" from="." to="." method="disconnect_node"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="do_send_changed_signal"]
|
|
|
|
|
|
|
|
|