mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
b50c07543b
Added size parameter to normal map Fixed color of outputs in perlin and voronoi Fixed keyboard shortcuts in graph editor (did not check modifiers)
184 lines
4.3 KiB
Plaintext
184 lines
4.3 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://addons/procedural_material/nodes/normal_map.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
|
|
[node name="NormalMap" type="GraphNode" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 1.0
|
|
margin_top = 1.0
|
|
margin_right = 173.0
|
|
margin_bottom = 75.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 = "Normal Map"
|
|
offset = Vector2( 0, 0 )
|
|
show_close = true
|
|
resizable = false
|
|
selected = false
|
|
comment = false
|
|
overlay = 0
|
|
slot/0/left_enabled = true
|
|
slot/0/left_type = 0
|
|
slot/0/left_color = Color( 0.756863, 0.756863, 0.756863, 1 )
|
|
slot/0/right_enabled = true
|
|
slot/0/right_type = 0
|
|
slot/0/right_color = Color( 0.5, 0.5, 1, 1 )
|
|
slot/1/left_enabled = false
|
|
slot/1/left_type = 0
|
|
slot/1/left_color = Color( 1, 1, 1, 1 )
|
|
slot/1/right_enabled = false
|
|
slot/1/right_type = 0
|
|
slot/1/right_color = Color( 1, 1, 1, 1 )
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Theme", "slot", "slot/0" ]
|
|
|
|
[node name="HBoxContainer1" type="HBoxContainer" 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 = 156.0
|
|
margin_bottom = 44.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
alignment = 0
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer1" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 3.0
|
|
margin_right = 61.0
|
|
margin_bottom = 17.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 4
|
|
text = "Grid size:"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
_sections_unfolded = [ "Anchor", "Margin", "Size Flags" ]
|
|
|
|
[node name="size" type="OptionButton" parent="HBoxContainer1" index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 65.0
|
|
margin_right = 140.0
|
|
margin_bottom = 20.0
|
|
rect_min_size = Vector2( 75, 0 )
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 11
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
action_mode = 0
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "1024"
|
|
flat = false
|
|
align = 0
|
|
items = [ "32", null, false, 0, null, "64", null, false, 1, null, "128", null, false, 2, null, "256", null, false, 3, null, "512", null, false, 4, null, "1024", null, false, 5, null, "2048", null, false, 6, null ]
|
|
selected = 5
|
|
_sections_unfolded = [ "Anchor", "Caret", "Placeholder", "Rect", "Size Flags" ]
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" 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 = 44.0
|
|
margin_right = 156.0
|
|
margin_bottom = 68.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
alignment = 0
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer2" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 5.0
|
|
margin_right = 62.0
|
|
margin_bottom = 19.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 4
|
|
text = "Amount:"
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
_sections_unfolded = [ "Anchor", "Margin", "Size Flags" ]
|
|
|
|
[node name="amount" type="SpinBox" parent="HBoxContainer2" index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 66.0
|
|
margin_right = 140.0
|
|
margin_bottom = 24.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
|
|
min_value = 0.0
|
|
max_value = 1.0
|
|
step = 0.05
|
|
page = 0.0
|
|
value = 0.5
|
|
exp_edit = false
|
|
rounded = false
|
|
editable = true
|
|
prefix = ""
|
|
suffix = ""
|
|
_sections_unfolded = [ "Caret", "Placeholder" ]
|
|
|
|
|