[gd_scene load_steps=34 format=3 uid="uid://d4f8grsq0umdo"]

[ext_resource type="Script" uid="uid://m86jmtwv1a22" path="res://scripts/adventurer_portrait.gd" id="1_0hknt"]
[ext_resource type="Script" uid="uid://cntcpe7ofdvyx" path="res://external/test portrait/test.gd" id="1_fcl1b"]
[ext_resource type="Texture2D" uid="uid://dj6fagfp2sbrx" path="res://external/test portrait/farmer_f/hat-bg.png" id="2_pek02"]
[ext_resource type="Shader" uid="uid://cru1otvka0qn5" path="res://external/test portrait/variant_color.gdshader" id="3_b42dv"]
[ext_resource type="Texture2D" uid="uid://can8npg0ufr3f" path="res://external/test portrait/farmer_f/hair_bg.png" id="4_snu43"]
[ext_resource type="Script" uid="uid://cdi0oxcug1hup" path="res://scripts/color_variant.gd" id="5_6ofx4"]
[ext_resource type="Texture2D" uid="uid://crrd8mpcuync2" path="res://external/test portrait/farmer_f/body.png" id="6_4lhir"]
[ext_resource type="Material" uid="uid://btx1o4kx78cbx" path="res://external/test portrait/tri-skin.tres" id="7_ufq70"]
[ext_resource type="Texture2D" uid="uid://dbdjaye6srxhx" path="res://external/test portrait/farmer_f/head.png" id="8_n24t2"]
[ext_resource type="Texture2D" uid="uid://cjs6gcaqkblxv" path="res://external/test portrait/gradients/skin/(c)brown.tres" id="8_x7qt0"]
[ext_resource type="Texture2D" uid="uid://bq1mcdggw8ksg" path="res://external/test portrait/gradients/skin/(l)dark.tres" id="9_0hknt"]
[ext_resource type="Texture2D" uid="uid://li44lgsa0ky" path="res://external/test portrait/farmer_f/eyes_shadow.png" id="9_d4dbv"]
[ext_resource type="Texture2D" uid="uid://x4e86o28672u" path="res://external/test portrait/farmer_f/brow_shadow-2.png" id="10_8lmmt"]
[ext_resource type="Texture2D" uid="uid://cru775pghpate" path="res://external/test portrait/farmer_f/hair_fg_shadow.png" id="11_mrkia"]
[ext_resource type="Texture2D" uid="uid://csp7xbtu0tpn7" path="res://external/test portrait/farmer_f/eye-white-1.png" id="12_fa2yd"]
[ext_resource type="Texture2D" uid="uid://mygmunn3voie" path="res://external/test portrait/farmer_f/eyes-iris-1.png" id="14_36lkf"]
[ext_resource type="Texture2D" uid="uid://wnkr20dtf734" path="res://external/test portrait/farmer_f/eyes-lashes-1.png" id="15_n8rvo"]
[ext_resource type="Texture2D" uid="uid://caow8dqiog7j4" path="res://external/test portrait/farmer_f/ear.png" id="16_c5fh3"]
[ext_resource type="Texture2D" uid="uid://0dwdi7m62trg" path="res://external/test portrait/gradients/hair/(c)red.tres" id="17_ds2dq"]
[ext_resource type="Texture2D" uid="uid://vt17lekvchdg" path="res://external/test portrait/farmer_f/hair_fg.png" id="17_vd0s3"]
[ext_resource type="Texture2D" uid="uid://dyeu4kwwnxjn5" path="res://external/test portrait/farmer_f/hat_fg.png" id="18_ad0yo"]
[ext_resource type="Texture2D" uid="uid://bqmnbsxgbrcpw" path="res://external/test portrait/gradients/hair/(l)red.tres" id="18_yxc1x"]
[ext_resource type="Texture2D" uid="uid://brmta1rtiau4a" path="res://external/test portrait/farmer_f/brows-2.png" id="19_oxjqg"]
[ext_resource type="Texture2D" uid="uid://c3wwe6r000gpq" path="res://external/test portrait/farmer_f/composite.png" id="25_e6f65"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_6ofx4"]
shader = ExtResource("3_b42dv")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_4lhir"]
shader = ExtResource("3_b42dv")
shader_parameter/color_gradient = ExtResource("8_x7qt0")
shader_parameter/luminosity_gradient = ExtResource("9_0hknt")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_ufq70"]
shader = ExtResource("3_b42dv")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_n24t2"]
shader = ExtResource("3_b42dv")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_d4dbv"]
shader = ExtResource("3_b42dv")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_8lmmt"]
resource_local_to_scene = true
shader = ExtResource("3_b42dv")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_mrkia"]
shader = ExtResource("3_b42dv")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_fa2yd"]
shader = ExtResource("3_b42dv")
shader_parameter/color_gradient = ExtResource("17_ds2dq")
shader_parameter/luminosity_gradient = ExtResource("18_yxc1x")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_5uixj"]
shader = ExtResource("3_b42dv")

[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(3, 3)
script = ExtResource("1_fcl1b")

[node name="Portrait" type="Control" parent="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
scale = Vector2(0.5, 0.5)
script = ExtResource("1_0hknt")

[node name="Hat BG" type="TextureRect" parent="Portrait"]
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("2_pek02")

[node name="Hair BG" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_6ofx4")
layout_mode = 0
offset_right = 256.0
offset_bottom = 256.0
texture = ExtResource("4_snu43")
script = ExtResource("5_6ofx4")
type = 1

[node name="Body" type="TextureRect" parent="Portrait"]
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("6_4lhir")

[node name="Head" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_4lhir")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("8_n24t2")
script = ExtResource("5_6ofx4")

[node name="Eye Shadows" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_ufq70")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("9_d4dbv")
script = ExtResource("5_6ofx4")

[node name="Brow Shadow" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_n24t2")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("10_8lmmt")
script = ExtResource("5_6ofx4")

[node name="Hair FG Shadow" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_d4dbv")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("11_mrkia")
script = ExtResource("5_6ofx4")

[node name="Eyewhites" type="TextureRect" parent="Portrait"]
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("12_fa2yd")

[node name="Irises" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_8lmmt")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("14_36lkf")
script = ExtResource("5_6ofx4")
type = 2

[node name="Eyelashes" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_mrkia")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("15_n8rvo")
script = ExtResource("5_6ofx4")
type = 1

[node name="Ear" type="TextureRect" parent="Portrait"]
material = ExtResource("7_ufq70")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("16_c5fh3")
script = ExtResource("5_6ofx4")

[node name="Hair FG" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_fa2yd")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("17_vd0s3")
script = ExtResource("5_6ofx4")
type = 1

[node name="Hat FG" type="TextureRect" parent="Portrait"]
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("18_ad0yo")

[node name="Brows" type="TextureRect" parent="Portrait"]
material = SubResource("ShaderMaterial_5uixj")
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
texture = ExtResource("19_oxjqg")
script = ExtResource("5_6ofx4")
type = 1

[node name="Composite" type="TextureRect" parent="."]
visible = false
layout_mode = 0
offset_left = 123.0
offset_right = 251.0
offset_bottom = 128.0
texture = ExtResource("25_e6f65")
