Commit graph

5 commits

Author SHA1 Message Date
Dan Baker
3959333534 Adds bushes and flowers to ground tiles
Implements bush and flower spawning on ground tiles based on vegetation density.
Adds new assets for bushes and flowers, and introduces multi-mesh rendering for optimized performance.
Introduces seasonal color variations for vegetation using a shader for bushes and materials for flowers and grass.
Refactors material application into a MaterialManager to handle material assignments over multiple frames.
Moves ground tile scripts into a subfolder.
Adds floating particles to test scene.
2025-06-29 10:58:18 +01:00
Dan Baker
7255cbdf64 Tree collisions and highlights 2025-06-26 18:28:33 +01:00
Dan Baker
33c525a3c0 Refactors grass and tree spawning for seed consistency
Updates grass and tree spawning to use the parent's RNG,
ensuring consistent random generation based on the seed.

This removes redundant RNG instances and ensures that grass and
trees are generated predictably for a given cell.
2025-06-26 15:26:56 +01:00
Dan Baker
1dc768ad27 Loads of crap 2025-06-26 14:46:23 +01:00
Dan Baker
b5bf7619e6 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
2025-06-24 13:14:21 +01:00