61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://clkrjexk1mje0"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/PlanetGeneration/PlanetGeneration.gd" id="1_0ns5c"]
|
|
[ext_resource type="Script" path="res://Scripts/PlanetGeneration/PlanetData.gd" id="2_5f7j5"]
|
|
[ext_resource type="Texture2D" uid="uid://0evqagsrs13i" path="res://Earth-LikeGradient.tres" id="2_7sfjj"]
|
|
[ext_resource type="Script" path="res://Scripts/PlanetGeneration/PlanetMeshFace.gd" id="2_gjljs"]
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_jb0os"]
|
|
noise_type = 0
|
|
frequency = 1.0
|
|
fractal_octaves = 10
|
|
|
|
[sub_resource type="Resource" id="Resource_im6ku"]
|
|
script = ExtResource("2_5f7j5")
|
|
radius = 2000.0
|
|
noise_map = SubResource("FastNoiseLite_jb0os")
|
|
amplitude = 0.1
|
|
planet_color = ExtResource("2_7sfjj")
|
|
flatness = 6.0
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bs67n"]
|
|
transparency = 1
|
|
albedo_color = Color(0.211765, 0.631373, 1, 0.278431)
|
|
metallic = 0.79
|
|
metallic_specular = 0.7
|
|
refraction_texture_channel = 2
|
|
|
|
[node name="Planet" type="Node3D"]
|
|
script = ExtResource("1_0ns5c")
|
|
planet_data = SubResource("Resource_im6ku")
|
|
|
|
[node name="Up" type="Node3D" parent="."]
|
|
script = ExtResource("2_gjljs")
|
|
normal = Vector3(0, 1, 0)
|
|
|
|
[node name="Down" type="Node3D" parent="."]
|
|
script = ExtResource("2_gjljs")
|
|
normal = Vector3(0, -1, 0)
|
|
|
|
[node name="Left" type="Node3D" parent="."]
|
|
script = ExtResource("2_gjljs")
|
|
normal = Vector3(-1, 0, 0)
|
|
|
|
[node name="Right" type="Node3D" parent="."]
|
|
script = ExtResource("2_gjljs")
|
|
normal = Vector3(1, 0, 0)
|
|
|
|
[node name="Front" type="Node3D" parent="."]
|
|
script = ExtResource("2_gjljs")
|
|
normal = Vector3(0, 0, 1)
|
|
|
|
[node name="Back" type="Node3D" parent="."]
|
|
script = ExtResource("2_gjljs")
|
|
normal = Vector3(0, 0, -1)
|
|
|
|
[node name="CSGSphere3D" type="CSGSphere3D" parent="."]
|
|
material_override = SubResource("StandardMaterial3D_bs67n")
|
|
radius = 2000.0
|
|
radial_segments = 100
|
|
rings = 100
|