-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnode_3d.tscn
142 lines (118 loc) · 6.08 KB
/
node_3d.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[gd_scene load_steps=23 format=3 uid="uid://bdy6sc2cpokkb"]
[ext_resource type="Shader" path="res://parallax.gdshader" id="1_43x1i"]
[ext_resource type="Texture2D" uid="uid://oivtxrpj846u" path="res://bricks2_disp.jpg" id="2_bjkea"]
[ext_resource type="Texture2D" uid="uid://tg6qoondr4e0" path="res://ganges_river_pebbles_disp_1k.jpg" id="2_q0vlh"]
[ext_resource type="Texture2D" uid="uid://bfbnylce7ymd5" path="res://ganges_river_pebbles_diff_1k.jpg" id="3_7d35o"]
[ext_resource type="Texture2D" uid="uid://buvqkj60458ss" path="res://bricks2.jpg" id="3_72k72"]
[ext_resource type="Texture2D" uid="uid://blhg72k47dvtx" path="res://ganges_river_pebbles_nor_gl_1k.jpg" id="4_2obec"]
[ext_resource type="Texture2D" uid="uid://bu6ox4g2buumh" path="res://bricks2_normal.jpg" id="4_hiapp"]
[ext_resource type="Texture2D" uid="uid://bhc64plkmb0nq" path="res://TestHeightMap.png" id="5_254iu"]
[ext_resource type="Script" path="res://camera_3d.gd" id="5_i2tlq"]
[ext_resource type="Script" path="res://spot_light_3d.gd" id="10_espxk"]
[sub_resource type="PlaneMesh" id="PlaneMesh_vd5m0"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bn6nc"]
render_priority = 0
shader = ExtResource("1_43x1i")
shader_parameter/heightScale = 0.095
shader_parameter/minLayers = 8.0
shader_parameter/maxLayers = 20.0
shader_parameter/inverse_height = true
shader_parameter/compressed_normals = false
shader_parameter/normal_map_enabled = true
shader_parameter/texture_scale = Vector2(1, 1)
shader_parameter/discard_edge = true
shader_parameter/diffuseMap = ExtResource("3_7d35o")
shader_parameter/normalMap = ExtResource("4_2obec")
shader_parameter/depthMap = ExtResource("2_q0vlh")
[sub_resource type="PlaneMesh" id="PlaneMesh_1dh46"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ead66"]
render_priority = 0
shader = ExtResource("1_43x1i")
shader_parameter/heightScale = 0.1
shader_parameter/minLayers = 8.0
shader_parameter/maxLayers = 20.0
shader_parameter/inverse_height = true
shader_parameter/compressed_normals = false
shader_parameter/normal_map_enabled = false
shader_parameter/texture_scale = Vector2(1, 1)
shader_parameter/discard_edge = true
shader_parameter/diffuseMap = ExtResource("3_72k72")
shader_parameter/normalMap = ExtResource("4_hiapp")
shader_parameter/depthMap = ExtResource("5_254iu")
[sub_resource type="PlaneMesh" id="PlaneMesh_rxek4"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1gjei"]
render_priority = 0
shader = ExtResource("1_43x1i")
shader_parameter/heightScale = 0.05
shader_parameter/minLayers = 8.0
shader_parameter/maxLayers = 20.0
shader_parameter/inverse_height = false
shader_parameter/compressed_normals = true
shader_parameter/normal_map_enabled = true
shader_parameter/texture_scale = Vector2(1, 1)
shader_parameter/discard_edge = true
shader_parameter/diffuseMap = ExtResource("3_72k72")
shader_parameter/normalMap = ExtResource("4_hiapp")
shader_parameter/depthMap = ExtResource("2_bjkea")
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_5nu3d"]
[sub_resource type="Sky" id="Sky_4sawx"]
sky_material = SubResource("ProceduralSkyMaterial_5nu3d")
[sub_resource type="Environment" id="Environment_hhnet"]
background_mode = 2
sky = SubResource("Sky_4sawx")
[sub_resource type="SphereMesh" id="SphereMesh_pvnep"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2ntl0"]
render_priority = 0
shader = ExtResource("1_43x1i")
shader_parameter/heightScale = 0.052
shader_parameter/minLayers = 8.0
shader_parameter/maxLayers = 32.0
shader_parameter/inverse_height = false
shader_parameter/compressed_normals = true
shader_parameter/normal_map_enabled = true
shader_parameter/texture_scale = Vector2(1, 1)
shader_parameter/discard_edge = false
shader_parameter/diffuseMap = ExtResource("3_72k72")
shader_parameter/normalMap = ExtResource("4_hiapp")
shader_parameter/depthMap = ExtResource("2_bjkea")
[sub_resource type="PlaneMesh" id="PlaneMesh_8j62o"]
[node name="Node2D" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00212109, -1.49012e-08, -0.00062418)
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.022635, 0, 0.999744, 0, 1, 0, -0.999744, 0, 0.022635, 0, 0.192144, 0)
mesh = SubResource("PlaneMesh_vd5m0")
surface_material_override/0 = SubResource("ShaderMaterial_bn6nc")
[node name="MeshInstance3D6" type="MeshInstance3D" parent="."]
transform = Transform3D(0.022635, 0, 0.999744, 0, 1, 0, -0.999744, 0, 0.022635, 0, 0.1, 2.018)
mesh = SubResource("PlaneMesh_1dh46")
surface_material_override/0 = SubResource("ShaderMaterial_ead66")
[node name="MeshInstance3D4" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.96389, 0.143654, 0)
mesh = SubResource("PlaneMesh_rxek4")
surface_material_override/0 = SubResource("ShaderMaterial_1gjei")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_hhnet")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.189216, 0.164764, 0.0427392)
mesh = SubResource("SphereMesh_pvnep")
surface_material_override/0 = SubResource("ShaderMaterial_2ntl0")
[node name="MeshInstance3D5" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.81895, 0.164764, -0.221929)
mesh = SubResource("SphereMesh_pvnep")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_8j62o")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.904142, 0.427232, 0, -0.427232, 0.904142, 0, 0.828439, 1.60668)
script = ExtResource("5_i2tlq")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.961411, -0.100727, 0.256012, 0.0149752, 0.910025, 0.414284, -0.274707, 0.402131, -0.8734, -0.0268892, 0, 0.307128)
shadow_enabled = true
directional_shadow_max_distance = 10.0
[node name="SpotLight3D" type="SpotLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.799549, 0.43785, 2.68145)
light_energy = 4.731
shadow_enabled = true
shadow_normal_bias = 0.0
spot_attenuation = 0.0
spot_angle_attenuation = 0.217638
script = ExtResource("10_espxk")