Also added the icons, and fixed all resource paths.

This commit is contained in:
Relintai 2021-10-17 00:35:35 +02:00
parent 45fc6bcdbd
commit 7dfdf6c1ce
24 changed files with 3754 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/custom.png-b026bd10e22818d25d499d2eddb137a8.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/mat_maker_gd/icons/custom.png"
dest_files=[ "res://.import/custom.png-b026bd10e22818d25d499d2eddb137a8.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 32, 48, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 16, 16, 16, 16 )

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/godot_logo.svg-4e4bf625f601f4dc5d1d367a2f781011.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/mat_maker_gd/icons/godot_logo.svg"
dest_files=[ "res://.import/godot_logo.svg-4e4bf625f601f4dc5d1d367a2f781011.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 189 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icons.svg-bac181e82e23c7264cdf6c36903654b9.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/mat_maker_gd/icons/icons.svg"
dest_files=[ "res://.import/icons.svg-bac181e82e23c7264cdf6c36903654b9.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -0,0 +1,15 @@
[gd_resource type="ProxyTexture" load_steps=2 format=2]
[sub_resource type="GDScript" id=1]
script/source = "tool
extends ProxyTexture
func _init():
if Directory.new().file_exists(\"res://addons/mat_maker_gd/icons/icons.svg\"):
var t : ImageTexture = ImageTexture.new()
t.load(\"res://addons/mat_maker_gd/icons/icons.svg\")
base = t
"
[resource]
script = SubResource( 1 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 16, 0, 16, 15 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 48, 96, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 0, 80, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 32, 64, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 32, 80, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 32, 96, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 32, 112, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 80, 32, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 64, 32, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 7
atlas = ExtResource( 1 )
region = Rect2( 32, 0, 16, 16 )

View File

@ -0,0 +1,8 @@
[gd_resource type="AtlasTexture" load_steps=2 format=2]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=1]
[resource]
flags = 4
atlas = ExtResource( 1 )
region = Rect2( 16, 48, 16, 16 )

View File

@ -2,7 +2,7 @@
[node name="ColorPickerPopup" type="PopupPanel"]
margin_right = 316.0
margin_bottom = 466.0
margin_bottom = 470.0
[node name="ColorPicker" type="ColorPicker" parent="."]
margin_left = 4.0

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://material_maker/widgets/float_edit/float_edit.gd" type="Script" id=1]
[ext_resource path="res://addons/mat_maker_gd/widgets/float_edit/float_edit.gd" type="Script" id=1]
[node name="FloatEdit" type="LineEdit"]
anchor_left = 1.0

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=12 format=2]
[ext_resource path="res://material_maker/widgets/gradient_editor/gradient_editor.gd" type="Script" id=1]
[ext_resource path="res://material_maker/icons/icons.tres" type="Texture" id=2]
[ext_resource path="res://addons/mat_maker_gd/widgets/gradient_editor/gradient_editor.gd" type="Script" id=1]
[ext_resource path="res://addons/mat_maker_gd/icons/icons.tres" type="Texture" id=2]
[sub_resource type="Shader" id=1]
code = "shader_type canvas_item;
@ -31,22 +31,18 @@ shader = SubResource( 3 )
[sub_resource type="Theme" id=5]
[sub_resource type="AtlasTexture" id=6]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 96, 0, 32, 16 )
[sub_resource type="AtlasTexture" id=7]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 64, 0, 32, 16 )
[sub_resource type="AtlasTexture" id=8]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 64, 16, 32, 16 )
[sub_resource type="AtlasTexture" id=9]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 96, 16, 32, 16 )
@ -102,4 +98,5 @@ align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="item_selected" from="Interpolation" to="." method="_on_Interpolation_item_selected"]

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://material_maker/widgets/gradient_editor/gradient_popup.gd" type="Script" id=1]
[ext_resource path="res://material_maker/widgets/gradient_editor/gradient_editor.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/mat_maker_gd/widgets/gradient_editor/gradient_popup.gd" type="Script" id=1]
[ext_resource path="res://addons/mat_maker_gd/widgets/gradient_editor/gradient_editor.tscn" type="PackedScene" id=2]
[sub_resource type="StyleBoxFlat" id=1]