123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- [gd_scene load_steps=2 format=2]
- [ext_resource path="res://addons/custom_material_creator/silly_material_creator.gd" type="Script" id=1]
- [node name="Silly Material Creator" type="Panel"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_right = 220.0
- margin_bottom = 340.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- script = ExtResource( 1 )
- _sections_unfolded = [ "custom_styles" ]
- [node name="Label_dock_name" type="Label" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -110.0
- margin_top = 10.0
- margin_right = 73.0
- margin_bottom = 24.0
- rect_scale = Vector2( 1.2, 1.2 )
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- size_flags_horizontal = 1
- size_flags_vertical = 4
- custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
- custom_constants/shadow_as_outline = 1
- text = "Silly material creator"
- align = 1
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- _sections_unfolded = [ "Rect", "custom_colors" ]
- [node name="Label_albedo" type="Label" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 50.0
- margin_right = 100.0
- margin_bottom = 64.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- size_flags_horizontal = 1
- size_flags_vertical = 4
- text = "Albedo color"
- align = 1
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- [node name="ColorPicker_albedo" type="ColorPickerButton" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 70.0
- margin_right = 100.0
- margin_bottom = 90.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- toggle_mode = false
- enabled_focus_mode = 2
- shortcut = null
- group = null
- flat = false
- color = Color( 1, 1, 1, 1 )
- edit_alpha = true
- [node name="Label_metallic" type="Label" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 100.0
- margin_right = 100.0
- margin_bottom = 114.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- size_flags_horizontal = 1
- size_flags_vertical = 4
- text = "Metallic strength"
- align = 1
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- [node name="HSlider_metallic" type="HSlider" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 120.0
- margin_right = 100.0
- margin_bottom = 136.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 0
- min_value = 0.0
- max_value = 1.0
- step = 0.05
- page = 0.0
- value = 0.0
- exp_edit = false
- rounded = false
- editable = true
- tick_count = 0
- ticks_on_borders = false
- focus_mode = 2
- [node name="Label_roughness" type="Label" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 150.0
- margin_right = 100.0
- margin_bottom = 164.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- size_flags_horizontal = 1
- size_flags_vertical = 4
- text = "Roughness strength"
- align = 1
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- [node name="HSlider_roughness" type="HSlider" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 170.0
- margin_right = 100.0
- margin_bottom = 186.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 0
- min_value = 0.0
- max_value = 1.0
- step = 0.05
- page = 0.0
- value = 0.0
- exp_edit = false
- rounded = false
- editable = true
- tick_count = 0
- ticks_on_borders = false
- focus_mode = 2
- [node name="Button_save" type="Button" parent="."]
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 210.0
- margin_right = 100.0
- margin_bottom = 260.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- toggle_mode = false
- enabled_focus_mode = 2
- shortcut = null
- group = null
- text = "Save silly material"
- flat = false
- [node name="Button_load" type="Button" parent="."]
- editor/display_folded = true
- anchor_left = 0.5
- anchor_top = 0.0
- anchor_right = 0.5
- anchor_bottom = 0.0
- margin_left = -100.0
- margin_top = 270.0
- margin_right = 100.0
- margin_bottom = 330.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- toggle_mode = false
- enabled_focus_mode = 2
- shortcut = null
- group = null
- flat = false
- clip_text = true
- __meta__ = {
- "_edit_group_": true
- }
- [node name="Label" type="Label" parent="Button_load"]
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_right = 200.0
- margin_bottom = 60.0
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 2
- size_flags_horizontal = 1
- size_flags_vertical = 4
- text = "Load silly material
- and apply to selected node(s)"
- align = 1
- valign = 1
- autowrap = true
- percent_visible = 1.0
- lines_skipped = 0
- max_lines_visible = -1
- [node name="Save_FileDialog" type="FileDialog" parent="."]
- visible = false
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_left = 150.0
- margin_top = 20.0
- margin_right = 600.0
- margin_bottom = 360.0
- rect_min_size = Vector2( 200, 70 )
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- popup_exclusive = false
- window_title = "Save a File"
- resizable = true
- dialog_hide_on_ok = false
- mode = 4
- access = 0
- filters = PoolStringArray( "*.silly_mat" )
- show_hidden_files = false
- [node name="Load_FileDialog" type="FileDialog" parent="."]
- visible = false
- anchor_left = 0.0
- anchor_top = 0.0
- anchor_right = 0.0
- anchor_bottom = 0.0
- margin_left = 150.0
- margin_top = 20.0
- margin_right = 600.0
- margin_bottom = 360.0
- rect_min_size = Vector2( 200, 70 )
- rect_pivot_offset = Vector2( 0, 0 )
- rect_clip_content = false
- mouse_filter = 0
- size_flags_horizontal = 1
- size_flags_vertical = 1
- popup_exclusive = false
- window_title = "Open a File"
- resizable = true
- dialog_hide_on_ok = false
- mode = 0
- access = 0
- filters = PoolStringArray( "*.silly_mat" )
- show_hidden_files = false
|