mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
6b9b954526
now load/save dialog use the non-editor classes (thus usable when running the project). Refactored graphedit and node code (mainly load/save and adding and removing nodes).
196 lines
4.5 KiB
Plaintext
196 lines
4.5 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://addons/procedural_material/nodes/material.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
|
|
[node name="Material" type="GraphNode"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_right = 84.0
|
|
margin_bottom = 43.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
theme = SubResource( 1 )
|
|
title = "Material"
|
|
offset = Vector2( 0, 0 )
|
|
show_close = false
|
|
resizable = false
|
|
selected = false
|
|
comment = false
|
|
overlay = 0
|
|
slot/0/left_enabled = true
|
|
slot/0/left_type = 0
|
|
slot/0/left_color = Color( 0.5, 0.5, 1, 1 )
|
|
slot/0/right_enabled = false
|
|
slot/0/right_type = 0
|
|
slot/0/right_color = Color( 0.5, 0.5, 1, 1 )
|
|
slot/1/left_enabled = true
|
|
slot/1/left_type = 0
|
|
slot/1/left_color = Color( 0.5, 0.5, 1, 1 )
|
|
slot/1/right_enabled = false
|
|
slot/1/right_type = 0
|
|
slot/1/right_color = Color( 0.5, 0.5, 1, 1 )
|
|
slot/2/left_enabled = true
|
|
slot/2/left_type = 0
|
|
slot/2/left_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
slot/2/right_enabled = false
|
|
slot/2/right_type = 0
|
|
slot/2/right_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
slot/3/left_enabled = true
|
|
slot/3/left_type = 0
|
|
slot/3/left_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
slot/3/right_enabled = false
|
|
slot/3/right_type = 0
|
|
slot/3/right_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
slot/4/left_enabled = true
|
|
slot/4/left_type = 0
|
|
slot/4/left_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
slot/4/right_enabled = false
|
|
slot/4/right_type = 0
|
|
slot/4/right_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
slot/5/left_enabled = true
|
|
slot/5/left_type = 0
|
|
slot/5/left_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
slot/5/right_enabled = false
|
|
slot/5/right_type = 0
|
|
slot/5/right_color = Color( 0.498039, 0.498039, 1, 1 )
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Theme", "slot", "slot/2", "slot/3", "slot/4", "slot/5" ]
|
|
|
|
[node name="Label1" type="Label" parent="." index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 16.0
|
|
margin_top = 24.0
|
|
margin_right = 95.0
|
|
margin_bottom = 38.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "Albedo"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label2" type="Label" parent="." index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 16.0
|
|
margin_top = 38.0
|
|
margin_right = 95.0
|
|
margin_bottom = 52.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "Metallic"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label3" type="Label" parent="." index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 16.0
|
|
margin_top = 53.0
|
|
margin_right = 95.0
|
|
margin_bottom = 67.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "Roughness"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label4" type="Label" parent="." index="3"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 16.0
|
|
margin_top = 68.0
|
|
margin_right = 95.0
|
|
margin_bottom = 82.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "Emission"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label5" type="Label" parent="." index="4"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 16.0
|
|
margin_top = 83.0
|
|
margin_right = 95.0
|
|
margin_bottom = 97.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "Normal map"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Label6" type="Label" parent="." index="5"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 16.0
|
|
margin_top = 98.0
|
|
margin_right = 95.0
|
|
margin_bottom = 112.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "Depth map"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
|