31 lines
878 B
Text
31 lines
878 B
Text
|
[gd_scene load_steps=7 format=2]
|
||
|
|
||
|
[ext_resource path="res://previewer/previewer.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://previewer/dummy/dummy.tscn" type="PackedScene" id=2]
|
||
|
|
||
|
[sub_resource type="OpenSimplexNoise" id=1]
|
||
|
period = 0.1
|
||
|
persistence = 0.444
|
||
|
lacunarity = 0.1
|
||
|
|
||
|
[sub_resource type="NoiseTexture" id=2]
|
||
|
noise = SubResource( 1 )
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=3]
|
||
|
albedo_color = Color( 0.192157, 0.435294, 0.172549, 1 )
|
||
|
albedo_texture = SubResource( 2 )
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id=4]
|
||
|
material = SubResource( 3 )
|
||
|
|
||
|
[node name="previewer" type="Spatial"]
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="dummy" parent="." instance=ExtResource( 2 )]
|
||
|
|
||
|
[node name="terrain" type="Spatial" parent="."]
|
||
|
|
||
|
[node name="test_csg_mesh" type="CSGMesh" parent="terrain"]
|
||
|
transform = Transform( 60.964, 0, 0, 0, 1.21928, 0, 0, 0, 60.964, 0, 0, 0 )
|
||
|
mesh = SubResource( 4 )
|