SlimeoosOdyssey/godot/Level/World/DayNightEnvironment.tscn

57 lines
1.7 KiB
Plaintext
Raw Normal View History

2023-08-20 13:43:47 -06:00
[gd_scene load_steps=8 format=3 uid="uid://6ycop5t3nra5"]
2023-08-20 13:31:48 -06:00
2023-08-20 13:43:47 -06:00
[sub_resource type="Gradient" id="Gradient_6ntap"]
colors = PackedColorArray(0, 0.447059, 0.603922, 1, 0, 0, 0, 1)
2023-08-20 13:31:48 -06:00
2023-08-20 13:43:47 -06:00
[sub_resource type="GradientTexture2D" id="GradientTexture2D_bagcs"]
gradient = SubResource("Gradient_6ntap")
fill_from = Vector2(1, 0.525641)
2023-08-20 13:31:48 -06:00
2023-08-20 13:43:47 -06:00
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_es06v"]
night_sky = SubResource("GradientTexture2D_bagcs")
[sub_resource type="Sky" id="Sky_qcavb"]
sky_material = SubResource("PhysicalSkyMaterial_es06v")
2023-08-20 13:31:48 -06:00
[sub_resource type="Environment" id="Environment_d42bf"]
background_mode = 2
background_energy_multiplier = 0.5
2023-08-20 13:43:47 -06:00
sky = SubResource("Sky_qcavb")
sky_rotation = Vector3(6.28319, 0, 0)
2023-08-20 13:31:48 -06:00
[sub_resource type="Animation" id="Animation_l6y5u"]
resource_name = "DayNightCycle"
2023-08-20 13:43:47 -06:00
length = 300.0
2023-08-20 13:31:48 -06:00
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 = {
2023-08-20 13:43:47 -06:00
"times": PackedFloat32Array(0, 300),
2023-08-20 13:31:48 -06:00
"transitions": PackedFloat32Array(1, 1),
"update": 0,
2023-08-20 13:43:47 -06:00
"values": [Vector3(0, 0, 0), Vector3(0, 0, 0)]
2023-08-20 13:31:48 -06:00
}
[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="."]
2023-08-20 13:43:47 -06:00
light_energy = 0.75
2023-08-20 13:31:48 -06:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "DayNightCycle"
libraries = {
"": SubResource("AnimationLibrary_2t5g8")
}