Implements procedural ground tile generation

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
This commit is contained in:
Dan Baker 2025-06-24 13:14:21 +01:00
parent 95665f54eb
commit b5bf7619e6
21 changed files with 532 additions and 149 deletions

View file

@ -61,17 +61,21 @@ jump={
wind_direction={
"type": "vec3",
"value": Vector3(5, 1, 5)
"value": Vector3(0.45, 0, -0.83)
}
wind_noise_size={
"type": "float",
"value": 0.1
"value": 2.0
}
wind_noise_speed={
"type": "float",
"value": 0.2
"value": 0.1
}
wind_strength={
"type": "float",
"value": 7.0
"value": 0.5
}
player_position={
"type": "vec3",
"value": Vector3(0, 0, 0)
}