branchrust_reboot/main/roadscancel
40 Commits over 0 Days - ∞cph!
Added max depth to PathFinder
Added road and roadside topology
Made procedural generation fully modular (for exact control over the step order)
Made static decor and monument placement part of the modular procedural generation
Simplified decor system (now only used for dynamic clientside clutter, as it should be)
Made spanning tree handle multiple passes in a nice way
Added DecorUtil class (methods for easy spawning of decor)
Added powerline placeholders to roadside
Made roads generate cliff topology if required when modifying the terrain around them
Improved edge fadeout of terrain map area modifiers
Refactoring and optimization
Fixed TerrainMap.ApplyFilter flooring the upper bound
Moved coordinate normalization utility methods to TerrainMeta
Exposed bridge height level in TerrainPath
Improved path cost calculation and path smoothing
Added the appropriate topology modifiers to land rock decorfor paths to avoid them
Replaced old placeholder path texture with a color adjusted version of the new dirt texture (for now)
Applied updated sand texture smoothness, specularity and height to atlas
Added some scattered bushes to the roadside
Made PathFinder reuse its visited map
Made summit height value depend on latitude
Prevented powerline poles from spawning on road by chance
Fixed terrain modifier placement being slightly off
SpawnFilter can now filter for both allowed and required topology types
Made rocks set their topology additively
Updated road costmap generation to correctly deal with multi-topologies
Updated all monument scenes to connect to roads
Added terrain to various monument scenes (now use auto height modifier and terrain anchor extraction)
Added hangar, brick building and metal frame building to monument spawning
Fixed missing prefab reference in metal frame building scene
Updated monument scene prefabs
Updated prefabs for multi-topologies
Fixed static decor placement ignoring decor parameters and terrain anchors
Improved noise backend (3x faster, higher quality)
Updated topology generation to new multi topology type
Improved heightmap generation
Moved more stuff to multi-topologies
Added multi-biomes
Updated monument scenes and prefabs
Updated player spawn rules
Prevented powerlines from spawning inside each other / rocks / monuments...
Made powerlines not float midair if placed on slopes
Removed powerlines from what will be bridges in the future
Fixed roadside topology generation overriding previous topologies (is now an additive topology)
Made fringe topology no longer imply grass splat (should probably be an additive topology as well at some point)
Added some coordinate noise before sampling the composite noise in the heightmap generation
Added noise to path width
Made bridge cost independent of slope
Made roadside spawning generic
Added more randomized bushes to the roadside