forked from xen-42/Minecraft-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpatial.tscn
41 lines (32 loc) · 1.35 KB
/
Spatial.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[gd_scene load_steps=7 format=2]
[ext_resource path="res://WorldScript.gd" type="Script" id=1]
[ext_resource path="res://Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/OutlineMaterial.tres" type="Material" id=3]
[sub_resource type="ProceduralSky" id=1]
sky_top_color = Color( 1, 1, 1, 1 )
ground_bottom_color = Color( 0, 0, 0, 1 )
sun_latitude = 50.0
[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
ambient_light_color = Color( 1, 1, 1, 1 )
ambient_light_energy = 0.25
ambient_light_sky_contribution = 0.8
fog_enabled = true
fog_color = Color( 1, 1, 1, 1 )
dof_blur_far_distance = 100.0
dof_blur_far_transition = 50.0
[sub_resource type="CubeMesh" id=3]
size = Vector3( 1.01, 1.01, 1.01 )
[node name="Spatial" type="Spatial"]
script = ExtResource( 1 )
[node name="Player" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 55.5835, 47.174, 0 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.909614, 0.00915035, -0.415355, 0.415455, -0.0200341, 0.909393, 0, -0.999757, -0.0220249, 0, 61.131, 0 )
shadow_enabled = true
[node name="BlockOutline" type="MeshInstance" parent="."]
mesh = SubResource( 3 )
material/0 = ExtResource( 3 )