Camera mouse look and trees

This commit is contained in:
2024-03-06 20:59:34 -05:00
parent ec869732ba
commit 2037197774
31 changed files with 450768 additions and 27 deletions

View File

@ -2,9 +2,9 @@
[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/Player/Camera3D.gd" id="2_4ip6j"]
[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")
@ -22,15 +22,15 @@ ambient_light_energy = 2.59
tonemap_mode = 2
glow_enabled = true
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ubgvy"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_q0yxn"]
noise_type = 0
frequency = 1.0
fractal_octaves = 10
[sub_resource type="Resource" id="Resource_12q14"]
[sub_resource type="Resource" id="Resource_qohml"]
script = ExtResource("2_gy4ke")
radius = 50.0
noise_map = SubResource("FastNoiseLite_ubgvy")
radius = 2000.0
noise_map = SubResource("FastNoiseLite_q0yxn")
amplitude = 0.1
planet_color = ExtResource("3_orhq2")
flatness = 6.0
@ -45,10 +45,7 @@ shadow_enabled = true
environment = SubResource("Environment_qj44i")
[node name="Planet" parent="." instance=ExtResource("1_65in3")]
planet_data = SubResource("Resource_12q14")
planet_data = SubResource("Resource_qohml")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.90061, -0.173246, -0.398607, 0, 0.917122, -0.398607, 0.434628, 0.358989, 0.825969, -35.8229, -10.2513, 382.498)
script = ExtResource("2_4ip6j")
velocity = Vector3(-0.469469, -0.469469, -1.12083)
acceleration = Vector3(0.0039095, 0.0039095, -0.00833256)
[node name="Player" parent="." instance=ExtResource("6_e2qso")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 43.381, -3136.67)