[gd_scene load_steps=36 format=3 uid="uid://drshemnag35re"]

[ext_resource type="Script" uid="uid://m86jmtwv1a22" path="res://scripts/adventurer_portrait.gd" id="1_ovplg"]
[ext_resource type="Texture2D" uid="uid://b303qa76o5r1m" path="res://external/test portrait/farmer_f/hat.png" id="2_rvj82"]
[ext_resource type="Shader" uid="uid://cru1otvka0qn5" path="res://external/test portrait/variant_color.gdshader" id="3_op84m"]
[ext_resource type="Texture2D" uid="uid://dbdjaye6srxhx" path="res://external/test portrait/farmer_f/head.png" id="4_dcd5x"]
[ext_resource type="Texture2D" uid="uid://bpiu6d7lbhyw" path="res://external/test portrait/gradients/hair/(l)mid.tres" id="4_rvj82"]
[ext_resource type="Script" uid="uid://cdi0oxcug1hup" path="res://scripts/color_variant.gd" id="5_riel4"]
[ext_resource type="Texture2D" uid="uid://can8npg0ufr3f" path="res://external/test portrait/farmer_f/hair_bg.png" id="7_nwmjm"]
[ext_resource type="Texture2D" uid="uid://cru775pghpate" path="res://external/test portrait/farmer_f/hair_fg_shadow.png" id="8_2gbpo"]
[ext_resource type="Texture2D" uid="uid://x4e86o28672u" path="res://external/test portrait/farmer_f/brow_shadow-2.png" id="9_qslms"]
[ext_resource type="Texture2D" uid="uid://caow8dqiog7j4" path="res://external/test portrait/farmer_f/ear.png" id="10_3uw50"]
[ext_resource type="Texture2D" uid="uid://csp7xbtu0tpn7" path="res://external/test portrait/farmer_f/eye-white-1.png" id="11_06xpe"]
[ext_resource type="Texture2D" uid="uid://mygmunn3voie" path="res://external/test portrait/farmer_f/eyes-iris-1.png" id="13_h52hx"]
[ext_resource type="Texture2D" uid="uid://cygn0xfsayykd" path="res://external/test portrait/player/eye-a.png" id="13_riel4"]
[ext_resource type="Texture2D" uid="uid://vt17lekvchdg" path="res://external/test portrait/farmer_f/hair_fg.png" id="14_wbk3e"]
[ext_resource type="Texture2D" uid="uid://bg6lac6nl5k84" path="res://external/test portrait/player/eye-b.png" id="14_yemgt"]
[ext_resource type="Texture2D" uid="uid://brmta1rtiau4a" path="res://external/test portrait/farmer_f/brows-2.png" id="15_dx3tu"]
[ext_resource type="Texture2D" uid="uid://bxdclvopvj75q" path="res://external/test portrait/player/eye-c.png" id="15_nwmjm"]
[ext_resource type="Texture2D" uid="uid://wnkr20dtf734" path="res://external/test portrait/farmer_f/eyes-lashes-1.png" id="16_grsle"]
[ext_resource type="Texture2D" uid="uid://0dwdi7m62trg" path="res://external/test portrait/gradients/hair/(c)red.tres" id="16_outqi"]
[ext_resource type="Texture2D" uid="uid://bqmnbsxgbrcpw" path="res://external/test portrait/gradients/hair/(l)red.tres" id="17_dcd5x"]
[ext_resource type="Texture2D" uid="uid://crrd8mpcuync2" path="res://external/test portrait/farmer_f/body.png" id="17_m1scf"]
[ext_resource type="Texture2D" uid="uid://dyeu4kwwnxjn5" path="res://external/test portrait/farmer_f/hat_fg.png" id="18_prh5n"]

[sub_resource type="Gradient" id="Gradient_riel4"]
offsets = PackedFloat32Array(0.4870968, 0.6, 0.88387096, 1)
colors = PackedColorArray(0.69, 0.045999996, 0, 1, 1, 0.67700005, 0.49, 1, 1, 0.85942566, 0.78655404, 1, 1, 0.88, 0.82, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_yemgt"]
gradient = SubResource("Gradient_riel4")

[sub_resource type="Gradient" id="Gradient_nwmjm"]
offsets = PackedFloat32Array(0, 0.5387097, 0.6967742, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.38549262, 0.38549247, 0.3854924, 1, 0.8064516, 0.8064516, 0.8064516, 1, 1, 1, 1, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_2gbpo"]
gradient = SubResource("Gradient_nwmjm")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_rvj82"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/color_gradient = SubResource("GradientTexture1D_yemgt")
shader_parameter/luminosity_gradient = SubResource("GradientTexture1D_2gbpo")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_ovplg"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(0, 0, 0, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_outqi"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_isphy"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_riel4"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_nwmjm"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_dcd5x"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_yemgt"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/color_gradient = ExtResource("16_outqi")
shader_parameter/luminosity_gradient = ExtResource("17_dcd5x")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_op84m"]
resource_local_to_scene = true
shader = ExtResource("3_op84m")
shader_parameter/luminosity_gradient = ExtResource("4_rvj82")
shader_parameter/flash = false
shader_parameter/flash_strength = 0.4
shader_parameter/highlight = Color(1, 1, 1, 0)

[node name="HeroPortrait" type="Control"]
custom_minimum_size = Vector2(512, 512)
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2
script = ExtResource("1_ovplg")
metadata/_custom_type_script = "uid://m86jmtwv1a22"

[node name="Hat BG" type="TextureRect" parent="."]
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("2_rvj82")

[node name="Head" type="TextureRect" parent="."]
z_index = 2
material = SubResource("ShaderMaterial_rvj82")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("4_dcd5x")
script = ExtResource("5_riel4")

[node name="Ear" type="TextureRect" parent="."]
z_index = 3
material = SubResource("ShaderMaterial_ovplg")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("10_3uw50")
script = ExtResource("5_riel4")

[node name="Hair" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="A" type="Control" parent="Hair"]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2

[node name="FG Shadow" type="TextureRect" parent="Hair/A"]
z_index = 4
material = SubResource("ShaderMaterial_outqi")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("8_2gbpo")
script = ExtResource("5_riel4")

[node name="BG" type="TextureRect" parent="Hair/A"]
z_index = 1
material = SubResource("ShaderMaterial_isphy")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("7_nwmjm")
script = ExtResource("5_riel4")
type = 1

[node name="FG" type="TextureRect" parent="Hair/A"]
z_index = 5
material = SubResource("ShaderMaterial_riel4")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("14_wbk3e")
script = ExtResource("5_riel4")
type = 1

[node name="Body" type="TextureRect" parent="."]
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("17_m1scf")

[node name="Hat FG" type="TextureRect" parent="."]
z_index = 6
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("18_prh5n")

[node name="Eyes" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="A" type="Control" parent="Eyes"]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2

[node name="Eyelids" type="TextureRect" parent="Eyes/A"]
z_index = 4
material = SubResource("ShaderMaterial_nwmjm")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("13_riel4")
script = ExtResource("5_riel4")

[node name="B" type="Control" parent="Eyes"]
visible = false
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2

[node name="Eyelids" type="TextureRect" parent="Eyes/B"]
z_index = 4
material = SubResource("ShaderMaterial_nwmjm")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("14_yemgt")
script = ExtResource("5_riel4")

[node name="C" type="Control" parent="Eyes"]
visible = false
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2

[node name="Eyelids" type="TextureRect" parent="Eyes/C"]
z_index = 4
material = SubResource("ShaderMaterial_nwmjm")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("15_nwmjm")
script = ExtResource("5_riel4")

[node name="D" type="Control" parent="Eyes"]
visible = false
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2

[node name="Eyelids" type="TextureRect" parent="Eyes/D"]
z_index = 4
material = SubResource("ShaderMaterial_nwmjm")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("16_grsle")
script = ExtResource("5_riel4")

[node name="Eye White" type="TextureRect" parent="Eyes/D"]
z_index = 2
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("11_06xpe")

[node name="Irises" type="TextureRect" parent="Eyes/D"]
z_index = 3
material = SubResource("ShaderMaterial_dcd5x")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("13_h52hx")
script = ExtResource("5_riel4")
type = 2

[node name="Brows" type="Control" parent="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2

[node name="A" type="Control" parent="Brows"]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2

[node name="Brows" type="TextureRect" parent="Brows/A"]
z_index = 6
material = SubResource("ShaderMaterial_yemgt")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("15_dx3tu")
script = ExtResource("5_riel4")
type = 1

[node name="Brow Shadows" type="TextureRect" parent="Brows/A"]
z_index = 4
material = SubResource("ShaderMaterial_op84m")
custom_minimum_size = Vector2(512, 512)
layout_mode = 0
offset_right = 512.0
offset_bottom = 512.0
mouse_filter = 2
texture = ExtResource("9_qslms")
script = ExtResource("5_riel4")
