49 lines
2 KiB
Text
49 lines
2 KiB
Text
[gd_scene format=3 uid="uid://bnecr4011unaf"]
|
|
|
|
[ext_resource type="Script" uid="uid://cqbbtco508idv" path="res://World.cs" id="1_tlwt5"]
|
|
[ext_resource type="ArrayMesh" uid="uid://65modei4jwaj" path="res://PlanetBase.obj" id="4_aqk2v"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fj7yv"]
|
|
|
|
[sub_resource type="Sky" id="Sky_tlwt5"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_fj7yv")
|
|
|
|
[sub_resource type="Environment" id="Environment_aqk2v"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_tlwt5")
|
|
ambient_light_source = 3
|
|
reflected_light_source = 2
|
|
|
|
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_036b0"]
|
|
|
|
[node name="World" type="Node3D" unique_id=1246998319 node_paths=PackedStringArray("_yawNode", "_pitchNode", "_cameraNode", "_planet")]
|
|
script = ExtResource("1_tlwt5")
|
|
_yawNode = NodePath("Yaw")
|
|
_pitchNode = NodePath("Yaw/Pitch")
|
|
_cameraNode = NodePath("Yaw/Pitch/Camera3D")
|
|
_planet = NodePath("Icosphere")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1682967023]
|
|
environment = SubResource("Environment_aqk2v")
|
|
camera_attributes = SubResource("CameraAttributesPractical_036b0")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=547620692]
|
|
transform = Transform3D(0.88874525, -0.29675773, 0.3493804, 0, 0.7621714, 0.6473753, -0.45840138, -0.5753517, 0.6773762, 0, 0, 0)
|
|
|
|
[node name="Icosphere" type="MeshInstance3D" parent="." unique_id=1909179361]
|
|
transform = Transform3D(0.01, 0, 0, 0, 0.01, 0, 0, 0, 0.01, 0, 0, 0)
|
|
mesh = ExtResource("4_aqk2v")
|
|
|
|
[node name="Yaw" type="Node3D" parent="." unique_id=743949193]
|
|
|
|
[node name="Pitch" type="Node3D" parent="Yaw" unique_id=190965746]
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="Yaw/Pitch" unique_id=1928139403]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 29.95575)
|
|
fov = 5.0
|
|
|
|
[node name="UI" type="Control" parent="." unique_id=242647974]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|