[gd_scene load_steps=11 format=3 uid="uid://cjjrdfywoxwgr"]

[ext_resource type="Material" uid="uid://br11m0qg2yhid" path="res://mat/waterMat.tres" id="1_x7q1n"]
[ext_resource type="Script" uid="uid://dialqdlhpqqsg" path="res://mat/water.gd" id="2_0sebh"]
[ext_resource type="PackedScene" uid="uid://cpykugh40l23q" path="res://kaykit/medieval/building_windmill_herited.tscn" id="2_cdryl"]
[ext_resource type="PackedScene" uid="uid://j4cu75dnf3u8" path="res://kaykit/medieval/building_well_red.fbx" id="4_wio4u"]
[ext_resource type="PackedScene" uid="uid://chcjbpt2tr5k3" path="res://kaykit/medieval/building_watermill_herited.tscn" id="4_x7q1n"]
[ext_resource type="PackedScene" uid="uid://babgqvkugifk1" path="res://boat/boat.tscn" id="5_wio4u"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_cdryl"]
sky_top_color = Color(0.308708, 0.682951, 0.784164, 1)
sky_horizon_color = Color(0.780183, 0.865994, 0.882297, 1)
ground_horizon_color = Color(0.780183, 0.865994, 0.882297, 1)

[sub_resource type="Sky" id="Sky_h5gxe"]
sky_material = SubResource("ProceduralSkyMaterial_cdryl")

[sub_resource type="Environment" id="Environment_x7q1n"]
background_mode = 2
sky = SubResource("Sky_h5gxe")
tonemap_mode = 2
glow_enabled = true

[sub_resource type="PlaneMesh" id="PlaneMesh_h5gxe"]
material = ExtResource("1_x7q1n")
size = Vector2(50, 50)
subdivide_width = 200
subdivide_depth = 200

[node name="Main" type="Node3D"]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866025, -0.474162, 0.158653, 0, 0.317305, 0.948324, -0.5, 0.821272, -0.274794, 0, 1.39043, 0)
light_specular = 0.1
shadow_enabled = true
shadow_opacity = 0.9

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_x7q1n")

[node name="Water" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_h5gxe")
script = ExtResource("2_0sebh")

[node name="Env" type="Node3D" parent="."]

[node name="building_windmill_red" parent="Env" instance=ExtResource("2_cdryl")]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0.309549, -0.0858696, -3.25239)

[node name="building_well_red" parent="Env" instance=ExtResource("4_wio4u")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.48994, 1.19209e-07, -0.244412)

[node name="building_watermill_red2" parent="Env" instance=ExtResource("4_x7q1n")]
transform = Transform3D(0.676092, 0, -0.736817, 0, 1, 0, 0.736817, 0, 0.676092, -4.20475, 0, -1.22925)

[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.50488, 1.99753, 0.0326443)

[node name="Boat" parent="." instance=ExtResource("5_wio4u")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.208335, 0.773113, 1.74591)
