summaryrefslogtreecommitdiffstats
path: root/Rock.tscn
blob: 0a80df365c4c6609284ba546577836918e149c67 (plain) (blame)
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=8 format=2]

[ext_resource path="res://ChunkedMeshInstance.gd" type="Script" id=2]

[sub_resource type="ConvexPolygonShape" id=2]
points = PoolVector3Array( 2.5, -5, 2.5, 2.5, -5, -2.5, -2.5, -5, -2.5, -2.5, -5, 2.5, 0, 5, 2.5, 0, 5, -2.5 )

[sub_resource type="OpenSimplexNoise" id=3]
octaves = 4
period = 32.0

[sub_resource type="NoiseTexture" id=4]
noise = SubResource( 3 )

[sub_resource type="NoiseTexture" id=5]
seamless = true
as_normalmap = true
bump_strength = 32.0
noise = SubResource( 3 )

[sub_resource type="SpatialMaterial" id=6]
albedo_color = Color( 0.231373, 0.231373, 0.231373, 1 )
albedo_texture = SubResource( 4 )
normal_enabled = true
normal_scale = 1.0
normal_texture = SubResource( 5 )

[sub_resource type="PrismMesh" id=1]
size = Vector3( 5, 10, 5 )

[node name="Rock" type="StaticBody"]
collision_layer = 8
collision_mask = 0

[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 2 )

[node name="MeshInstance" type="MeshInstance" parent="."]
material_override = SubResource( 6 )
script = ExtResource( 2 )
_mesh = SubResource( 1 )