]> Untitled Git - knight.git/blob - test/test.tscn
Added lamps and fog
[knight.git] / test / test.tscn
1 [gd_scene load_steps=11 format=3 uid="uid://bvydwnbie3pv4"]
2
3 [ext_resource type="Script" path="res://test/test.gd" id="1_gmol0"]
4 [ext_resource type="PackedScene" uid="uid://chtr62feiltax" path="res://player/player.tscn" id="1_ytdba"]
5 [ext_resource type="PackedScene" uid="uid://dbthgkok84ru0" path="res://test/block.tscn" id="2_8u8xb"]
6 [ext_resource type="PackedScene" uid="uid://b2dfg5tywfl7q" path="res://test/lamp.tscn" id="4_e2oge"]
7
8 [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ohmka"]
9 sky_top_color = Color(0.0360979, 0.133006, 0.175678, 1)
10 sky_horizon_color = Color(0.542774, 0.569877, 0.606419, 1)
11 ground_bottom_color = Color(0.135, 0.1465, 0.25, 1)
12 ground_horizon_color = Color(0.542774, 0.569877, 0.606419, 1)
13
14 [sub_resource type="Sky" id="Sky_mganl"]
15 sky_material = SubResource("ProceduralSkyMaterial_ohmka")
16
17 [sub_resource type="Environment" id="Environment_7wa85"]
18 background_mode = 2
19 sky = SubResource("Sky_mganl")
20 tonemap_mode = 2
21 ssao_enabled = true
22 glow_enabled = true
23 volumetric_fog_enabled = true
24 volumetric_fog_density = 0.1259
25 volumetric_fog_albedo = Color(0.20388, 0.1896, 0.24, 1)
26 volumetric_fog_length = 128.0
27
28 [sub_resource type="PlaneMesh" id="PlaneMesh_dplfc"]
29 size = Vector2(40, 8.98)
30
31 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_87x6o"]
32 albedo_color = Color(0.149763, 0.203291, 0.262937, 1)
33
34 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_73kmu"]
35 data = PackedVector3Array(20, 0, 4.49, -20, 0, 4.49, 20, 0, -4.49, -20, 0, 4.49, -20, 0, -4.49, 20, 0, -4.49)
36
37 [node name="Test" type="Node3D"]
38 script = ExtResource("1_gmol0")
39
40 [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
41 environment = SubResource("Environment_7wa85")
42
43 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
44 transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
45 light_color = Color(0.5261, 0.571658, 0.783167, 1)
46 light_energy = 0.25
47 light_volumetric_fog_energy = 7.526
48 shadow_enabled = true
49
50 [node name="Player" parent="." instance=ExtResource("1_ytdba")]
51
52 [node name="map" type="Node3D" parent="."]
53 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.8662, 0, 0)
54
55 [node name="ground" type="MeshInstance3D" parent="map"]
56 mesh = SubResource("PlaneMesh_dplfc")
57 skeleton = NodePath("../..")
58 surface_material_override/0 = SubResource("StandardMaterial3D_87x6o")
59
60 [node name="StaticBody3D" type="StaticBody3D" parent="map/ground"]
61
62 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/ground/StaticBody3D"]
63 shape = SubResource("ConcavePolygonShape3D_73kmu")
64
65 [node name="blocks" type="Node3D" parent="map"]
66
67 [node name="Block" parent="map/blocks" instance=ExtResource("2_8u8xb")]
68 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.30582, 0, 0.134318)
69
70 [node name="Block2" parent="map/blocks" instance=ExtResource("2_8u8xb")]
71 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94243, 1.91616, 0.268636)
72
73 [node name="Block8" parent="map/blocks" instance=ExtResource("2_8u8xb")]
74 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.27066, 3.80975, 0.268636)
75
76 [node name="Block9" parent="map/blocks" instance=ExtResource("2_8u8xb")]
77 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.126355, 3.80975, 0.268636)
78
79 [node name="Block3" parent="map/blocks" instance=ExtResource("2_8u8xb")]
80 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.315662, -0.336864, -3.10105)
81
82 [node name="Block4" parent="map/blocks" instance=ExtResource("2_8u8xb")]
83 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.899326, -0.296218, -2.69083)
84
85 [node name="Block5" parent="map/blocks" instance=ExtResource("2_8u8xb")]
86 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.8697, 0, 3.31299)
87
88 [node name="Block6" parent="map/blocks" instance=ExtResource("2_8u8xb")]
89 transform = Transform3D(0.963985, -4.58956e-08, 1.20097, 0.840186, 1.1004, -0.674393, -0.858149, 1.07737, 0.688812, 1.79621, 4.76837e-07, 2.44774)
90
91 [node name="Block10" parent="map/blocks" instance=ExtResource("2_8u8xb")]
92 transform = Transform3D(-1.12697, 1.0177, 0.256559, 0.840186, 1.1004, -0.674393, -0.628994, -0.353546, -1.3605, 0.26934, 4.76837e-07, 2.44774)
93
94 [node name="Block11" parent="map/blocks" instance=ExtResource("2_8u8xb")]
95 transform = Transform3D(-1.97474, 0.396604, -1.81307, 1.47851, 1.93642, -1.18676, 1.12184, -1.85394, -1.62742, -1.54759, 4.76837e-07, 4.88015)
96
97 [node name="Block12" parent="map/blocks" instance=ExtResource("2_8u8xb")]
98 transform = Transform3D(0.126059, -1.48386, -2.26415, 1.47851, 1.93642, -1.18676, 2.26765, -1.18006, 0.899631, 4.62201, 4.76837e-07, 4.88015)
99
100 [node name="Block13" parent="map/blocks" instance=ExtResource("2_8u8xb")]
101 transform = Transform3D(5.05779, -3.47782, 0.626465, 3.3662, 4.40875, -2.70195, 1.07536, 2.55668, 5.51143, 4.62201, 4.76837e-07, 13.0351)
102
103 [node name="Block17" parent="map/blocks" instance=ExtResource("2_8u8xb")]
104 transform = Transform3D(5.17073, -2.89113, 1.72447, 3.3662, 4.40875, -2.70195, 0.0338593, 3.20519, 5.27205, 8.94593, 4.76837e-07, 15.5634)
105
106 [node name="Block18" parent="map/blocks" instance=ExtResource("2_8u8xb")]
107 transform = Transform3D(-2.27808, 4.15875, 3.94766, 3.3662, 4.40875, -2.70195, -4.64198, 1.15613, -3.8967, -1.4144, 4.76837e-07, 15.5634)
108
109 [node name="Block14" parent="map/blocks" instance=ExtResource("2_8u8xb")]
110 transform = Transform3D(-2.28035, 4.15931, 3.94576, 3.3662, 4.40875, -2.70195, -4.64087, 1.1541, -3.89863, 9.48973, 4.76837e-07, 2.7354)
111
112 [node name="Block15" parent="map/blocks" instance=ExtResource("2_8u8xb")]
113 transform = Transform3D(-2.28035, 4.15931, 3.94576, 3.3662, 4.40875, -2.70195, -4.64087, 1.1541, -3.89863, 11.7752, 4.76837e-07, 2.7354)
114
115 [node name="Block16" parent="map/blocks" instance=ExtResource("2_8u8xb")]
116 transform = Transform3D(-3.59526, 4.67433, 1.81486, 3.58307, 3.95713, -3.09381, -3.5078, -0.748826, -5.02031, 7.85471, -1.80343, 4.65367)
117
118 [node name="Block7" parent="map/blocks" instance=ExtResource("2_8u8xb")]
119 transform = Transform3D(0.854299, -0.5507, -1.23568, 0.895387, 1.32571, 0.0282141, 1.01413, -0.706571, 1.01602, 3.30079, -0.0345068, 3.26074)
120
121 [node name="lights" type="Node3D" parent="map"]
122
123 [node name="Lamp" parent="map/lights" instance=ExtResource("4_e2oge")]
124 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.65743, 2.16469, 3.69796)
125
126 [node name="Lamp2" parent="map/lights" instance=ExtResource("4_e2oge")]
127 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.529578, 0, -1.86579)
128
129 [node name="Lamp4" parent="map/lights" instance=ExtResource("4_e2oge")]
130 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.53808, 0, 1.71538)
131
132 [node name="Lamp3" parent="map/lights" instance=ExtResource("4_e2oge")]
133 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.77066, 3.93679, 0.160806)