2024-08-06 22:46:05 +02:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://dnerbdusnaofr"]
|
|
|
|
|
2024-10-06 16:13:47 +02:00
|
|
|
[ext_resource type="Script" path="res://scenes/procedural_planet/ProceduralPlanet.cs" id="3_dyl4c"]
|
2024-08-06 22:46:05 +02:00
|
|
|
[ext_resource type="Shader" path="res://scenes/procedural_planet/procedural_planet.gdshader" id="1_tl7a6"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dr8pb2ip0k08j" path="res://scenes/procedural_planet/albedo.png" id="3_pc1s8"]
|
|
|
|
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_xihql"]
|
|
|
|
fractal_octaves = 8
|
|
|
|
|
|
|
|
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_bt5w2"]
|
|
|
|
width = 256
|
|
|
|
height = 256
|
|
|
|
depth = 256
|
|
|
|
seamless = true
|
|
|
|
noise = SubResource("FastNoiseLite_xihql")
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_m4mhh"]
|
2024-08-15 21:45:07 +02:00
|
|
|
resource_local_to_scene = true
|
2024-08-06 22:46:05 +02:00
|
|
|
shader = ExtResource("1_tl7a6")
|
|
|
|
shader_parameter/size = 100.0
|
|
|
|
shader_parameter/rotationSpeed = 0.05
|
|
|
|
shader_parameter/atmosphereColor = Color(0, 0.3, 1, 0.3)
|
|
|
|
shader_parameter/atmosphereSize = 0.3
|
|
|
|
shader_parameter/cloudsSize = 0.05
|
|
|
|
shader_parameter/cloudsDensity = 0.22
|
|
|
|
shader_parameter/cloudsTurbulence = 0.01
|
|
|
|
shader_parameter/windSpeed = 0.03
|
|
|
|
shader_parameter/noise = SubResource("NoiseTexture3D_bt5w2")
|
|
|
|
shader_parameter/albedo = ExtResource("3_pc1s8")
|
|
|
|
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_ipvyw"]
|
|
|
|
size = Vector2(2, 2)
|
|
|
|
|
|
|
|
[node name="ProceduralPlanet" type="Sprite2D"]
|
|
|
|
material = SubResource("ShaderMaterial_m4mhh")
|
|
|
|
scale = Vector2(100, 100)
|
|
|
|
texture = SubResource("PlaceholderTexture2D_ipvyw")
|
2024-10-06 16:13:47 +02:00
|
|
|
script = ExtResource("3_dyl4c")
|