53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
|
[gd_scene load_steps=7 format=3 uid="uid://6ycop5t3nra5"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://6k4ialfiwfxe" path="res://Textures/blueskygradient.jpg" id="1_l2fuq"]
|
||
|
|
||
|
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_jvebd"]
|
||
|
turbidity = 50.0
|
||
|
sun_disk_scale = 0.5
|
||
|
ground_color = Color(0, 0, 0, 1)
|
||
|
night_sky = ExtResource("1_l2fuq")
|
||
|
|
||
|
[sub_resource type="Sky" id="Sky_ummxe"]
|
||
|
sky_material = SubResource("PhysicalSkyMaterial_jvebd")
|
||
|
|
||
|
[sub_resource type="Environment" id="Environment_d42bf"]
|
||
|
background_mode = 2
|
||
|
background_energy_multiplier = 0.5
|
||
|
sky = SubResource("Sky_ummxe")
|
||
|
|
||
|
[sub_resource type="Animation" id="Animation_l6y5u"]
|
||
|
resource_name = "DayNightCycle"
|
||
|
length = 10.0
|
||
|
loop_mode = 1
|
||
|
tracks/0/type = "value"
|
||
|
tracks/0/imported = false
|
||
|
tracks/0/enabled = true
|
||
|
tracks/0/path = NodePath("DirectionalLight3D:rotation")
|
||
|
tracks/0/interp = 1
|
||
|
tracks/0/loop_wrap = true
|
||
|
tracks/0/keys = {
|
||
|
"times": PackedFloat32Array(0, 10),
|
||
|
"transitions": PackedFloat32Array(1, 1),
|
||
|
"update": 0,
|
||
|
"values": [Vector3(0, 0, 0), Vector3(6.28319, 0, 0)]
|
||
|
}
|
||
|
|
||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2t5g8"]
|
||
|
_data = {
|
||
|
"DayNightCycle": SubResource("Animation_l6y5u")
|
||
|
}
|
||
|
|
||
|
[node name="DayNightEnvironment" type="Node3D"]
|
||
|
|
||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||
|
environment = SubResource("Environment_d42bf")
|
||
|
|
||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||
|
|
||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||
|
autoplay = "DayNightCycle"
|
||
|
libraries = {
|
||
|
"": SubResource("AnimationLibrary_2t5g8")
|
||
|
}
|