Skip to content

Commit

Permalink
Add Demo files
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames committed Sep 3, 2024
1 parent f94a314 commit 8f2bbf4
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions project/node_3d.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[gd_scene load_steps=6 format=3 uid="uid://cjhjp1l7hn516"]

[sub_resource type="Gradient" id="Gradient_5bi8m"]
offsets = PackedFloat32Array(0.2, 1)
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)

[sub_resource type="FastNoiseLite" id="FastNoiseLite_tyq11"]
noise_type = 2
frequency = 0.03
cellular_jitter = 3.0
cellular_return_type = 0
domain_warp_enabled = true
domain_warp_type = 1
domain_warp_amplitude = 50.0
domain_warp_fractal_type = 2
domain_warp_fractal_lacunarity = 1.5
domain_warp_fractal_gain = 1.0

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_umsef"]
seamless = true
color_ramp = SubResource("Gradient_5bi8m")
noise = SubResource("FastNoiseLite_tyq11")

[sub_resource type="Terrain3DMaterial" id="Terrain3DMaterial_kfm7p"]
_shader_parameters = {
"blend_sharpness": 0.87,
"height_blending": true,
"macro_variation1": Color(1, 1, 1, 1),
"macro_variation2": Color(1, 1, 1, 1),
"noise1_angle": 0.0,
"noise1_offset": Vector2(0.5, 0.5),
"noise1_scale": 0.04,
"noise2_scale": 0.076,
"noise3_scale": 0.225,
"noise_texture": SubResource("NoiseTexture2D_umsef"),
"vertex_normals_distance": 128.0
}
world_background = 0
show_checkered = true

[sub_resource type="Terrain3DTextureList" id="Terrain3DTextureList_xap50"]

[node name="Node3D" type="Node3D"]

[node name="Terrain3D" type="Terrain3D" parent="."]
storage_directory = "res://terrain"
material = SubResource("Terrain3DMaterial_kfm7p")
texture_list = SubResource("Terrain3DTextureList_xap50")
Binary file added project/terrain/terrain3d-01-01.res
Binary file not shown.
Binary file added project/terrain/terrain3d-01_00.res
Binary file not shown.
Binary file added project/terrain/terrain3d_00-01.res
Binary file not shown.
Binary file added project/terrain/terrain3d_00_00.res
Binary file not shown.

0 comments on commit 8f2bbf4

Please sign in to comment.