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

[ext_resource type="PackedScene" uid="uid://clkrjexk1mje0" path="res://PlanetGeneration.tscn" id="1_65in3"]
[ext_resource type="Texture2D" uid="uid://osf4dpcksyxa" path="res://cc71d02a-1e5a-4aa3-a8f2-44f262a17d38_scaled.jpg" id="1_vooe1"]
[ext_resource type="Script" path="res://Scripts/PlanetGeneration/PlanetData.gd" id="2_gy4ke"]
[ext_resource type="Texture2D" uid="uid://0evqagsrs13i" path="res://Earth-LikeGradient.tres" id="3_orhq2"]
[ext_resource type="PackedScene" uid="uid://dmyni0e38gals" path="res://Player.tscn" id="6_e2qso"]

[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_vl6wy"]
panorama = ExtResource("1_vooe1")

[sub_resource type="Sky" id="Sky_78gnh"]
sky_material = SubResource("PanoramaSkyMaterial_vl6wy")

[sub_resource type="Environment" id="Environment_qj44i"]
background_mode = 2
background_energy_multiplier = 0.68
sky = SubResource("Sky_78gnh")
ambient_light_color = Color(0.14902, 0.14902, 0.14902, 1)
ambient_light_sky_contribution = 0.75
ambient_light_energy = 2.59
tonemap_mode = 2
glow_enabled = true

[sub_resource type="FastNoiseLite" id="FastNoiseLite_q0yxn"]
noise_type = 0
frequency = 1.0
fractal_octaves = 10

[sub_resource type="Resource" id="Resource_qohml"]
script = ExtResource("2_gy4ke")
radius = 2000.0
noise_map = SubResource("FastNoiseLite_q0yxn")
amplitude = 0.1
planet_color = ExtResource("3_orhq2")
flatness = 6.0

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

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.408033, 0.826428, 0.387978, 0.660572, -0.560588, 0.499385, 0.630202, 0.0525216, -0.774653, 5.16053, 224.499, -333.943)
shadow_enabled = true

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

[node name="Planet" parent="." instance=ExtResource("1_65in3")]
planet_data = SubResource("Resource_qohml")

[node name="Player" parent="." instance=ExtResource("6_e2qso")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 43.381, -3136.67)
