Adds procedural ground tile generation with chunking for improved performance. Includes: - Ground tile entity with debug text and cell information - Grass and tree placement based on cell data - Ground shader for visual representation - Chunk loading and unloading system based on player position
16 lines
703 B
Text
16 lines
703 B
Text
[gd_resource type="ShaderMaterial" load_steps=3 format=3 uid="uid://b1miqvl8lus75"]
|
|
|
|
[ext_resource type="Shader" uid="uid://dbduq0qcaxmyi" path="res://grass.gdshader" id="1_vnnwo"]
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vnnwo"]
|
|
|
|
[resource]
|
|
render_priority = 0
|
|
shader = ExtResource("1_vnnwo")
|
|
shader_parameter/top_color = Color(0.102963, 0.465909, 0.382031, 1)
|
|
shader_parameter/bottom_color = Color(0.121494, 0.374954, 0.315972, 1)
|
|
shader_parameter/ambient_occlusion_factor = 0.0
|
|
shader_parameter/specular_strength = 0.0
|
|
shader_parameter/player_displacement_strength = 1.0
|
|
shader_parameter/player_displacement_size = 1.0
|
|
shader_parameter/wind_noise = SubResource("NoiseTexture2D_vnnwo")
|