[gd_scene load_steps=8 format=2]

[ext_resource path="res://material_maker/panels/preview_3d/preview_objects.tscn" type="PackedScene" id=1]
[ext_resource path="res://material_maker/panels/preview_3d/thumbnails/generation/gen_thumbs_meshes.gd" type="Script" id=2]
[ext_resource path="res://material_maker/panels/preview_3d/thumbnails/generation/thumbnail_ground.material" type="Material" id=3]

[sub_resource type="ProceduralSky" id=1]

[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
ambient_light_energy = 0.32
tonemap_mode = 2
ss_reflections_enabled = true

[sub_resource type="World" id=3]
environment = SubResource( 2 )

[sub_resource type="PlaneMesh" id=4]
size = Vector2( 100, 100 )

[node name="GenThumbsMesh" type="Spatial"]
script = ExtResource( 2 )
thumb_size = 64

[node name="Objects" parent="." instance=ExtResource( 1 )]

[node name="ThumbnailGeneration" type="Viewport" parent="."]
own_world = true
world = SubResource( 3 )
msaa = 3
render_target_v_flip = true
render_target_update_mode = 3
shadow_atlas_size = 1024

[node name="CameraPivot" type="Spatial" parent="ThumbnailGeneration"]
transform = Transform( 0.928239, 0, 0.371984, 0, 1, 0, -0.371984, 0, 0.928239, 0, 0, 0 )

[node name="Camera" type="Camera" parent="ThumbnailGeneration/CameraPivot"]
transform = Transform( 0.933281, -0.242632, 0.264797, 0, 0.737291, 0.675575, -0.359148, -0.630502, 0.688099, 1.41, 4.3, 3.798 )
fov = 43.0

[node name="DirectionalLight" type="DirectionalLight" parent="ThumbnailGeneration"]
transform = Transform( 0.858763, 0.306802, -0.410364, 0, 0.800909, 0.598786, 0.512373, -0.514215, 0.687791, -4, 0, 0 )
shadow_enabled = true
shadow_contact = 0.62
directional_shadow_mode = 1
directional_shadow_split_1 = 1.0
directional_shadow_split_2 = 0.0
directional_shadow_split_3 = 0.0
directional_shadow_bias_split_scale = 0.28
directional_shadow_max_distance = 11.9

[node name="Ground" type="MeshInstance" parent="ThumbnailGeneration"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
mesh = SubResource( 4 )
material/0 = ExtResource( 3 )

[node name="VBoxContainer" type="VBoxContainer" parent="ThumbnailGeneration"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="CenterContainer" type="CenterContainer" parent="ThumbnailGeneration/VBoxContainer"]
margin_right = 1680.0
margin_bottom = 14.0

[node name="Name" type="Label" parent="ThumbnailGeneration/VBoxContainer/CenterContainer"]
margin_left = 815.0
margin_right = 864.0
margin_bottom = 14.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_outline_modulate = Color( 1, 1, 1, 1 )
custom_colors/font_color_shadow = Color( 1, 1, 1, 1 )
text = "Custom"
__meta__ = {
"_edit_use_anchors_": false
}
