-
Notifications
You must be signed in to change notification settings - Fork 0
/
world.tscn
91 lines (75 loc) · 3.13 KB
/
world.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[gd_scene load_steps=9 format=3 uid="uid://cm1rrycovnq0a"]
[ext_resource type="Script" path="res://Player.gd" id="1"]
[ext_resource type="Script" path="res://Camera.gd" id="2"]
[ext_resource type="ArrayMesh" uid="uid://c45awlvh220wx" path="res://world_mesh.obj" id="3"]
[ext_resource type="Shader" path="res://rolling.gdshader" id="3_uxw1m"]
[sub_resource type="CylinderMesh" id="1"]
bottom_radius = 0.25
height = 1.0
radial_segments = 12
rings = 1
[sub_resource type="SphereMesh" id="2"]
radial_segments = 12
rings = 12
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6bn4d"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_00xug"]
render_priority = 0
shader = ExtResource("3_uxw1m")
shader_parameter/player_pos = Vector3(0, 0, 0)
shader_parameter/active = true
shader_parameter/remap_normals = true
shader_parameter/RADIUS = 8.0
shader_parameter/hang = false
shader_parameter/albedo = Color(0.188235, 0.113725, 0, 1)
shader_parameter/point_size = 0.0
shader_parameter/roughness = 0.382
shader_parameter/metallic_texture_channel = Vector4(0, 0, 0, 0)
shader_parameter/specular = 0.0
shader_parameter/metallic = 0.92
[node name="Node3D" type="Node3D"]
[node name="SpotLight3D" type="SpotLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 1.13621e-07, 5.12639, -2.84217e-14)
light_color = Color(0, 1, 1, 1)
light_energy = 12.0
shadow_enabled = true
spot_range = 33.0
spot_angle = 70.7004
[node name="DirectionalLight2" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.975806, -9.55694e-09, 0.218637, -0.218637, -4.26539e-08, 0.975806, 0, -1, -4.37114e-08, 0, 5, 0)
light_energy = 2.0
light_indirect_energy = 0.0
light_volumetric_fog_energy = 0.0
shadow_normal_bias = 0.0
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.2669, 3.74925, 0)
light_energy = 16.0
omni_range = 6.93895
[node name="OmniLight3D" type="OmniLight3D" parent="OmniLight3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.99301, -0.272763, -5.98062)
light_energy = 16.0
omni_range = 6.93895
[node name="Player" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
script = ExtResource("1")
[node name="Camera3D" type="Camera3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866026, 0, -0.866026, 0.5, 0, 6, 3)
script = ExtResource("2")
[node name="Cylinder" type="MeshInstance3D" parent="Player"]
mesh = SubResource("1")
[node name="Sphere" type="MeshInstance3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("2")
surface_material_override/0 = SubResource("StandardMaterial3D_6bn4d")
[node name="OmniLight3D" type="OmniLight3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.32276, 0.205388)
light_color = Color(0.733333, 0.619608, 0.517647, 1)
light_energy = 10.0
light_indirect_energy = 0.0
light_specular = 1.0
shadow_enabled = true
shadow_bias = 0.3
omni_range = 16.0
[node name="Ground" type="MeshInstance3D" parent="."]
cast_shadow = 2
mesh = ExtResource("3")
surface_material_override/0 = SubResource("ShaderMaterial_00xug")