branchrust_reboot/main/terrain_renderercancel
109 Commits over 243 Days - 0.02cph!
Actually assign culling value in cullingtest
Change culling test to check using map of device ids
Add GPU check method on ConVar terrain.cullingtest
Change min/max heightmap to from R16G16_Uint to encoded R32_UInt for guaranteed compatibility
Apply shelve
13775 Fix terrain.geometryclipmaps not persisting properly
Make terrain culling ConVar accessible
Fix shader warnings in terrain compute (prevent possible edge case issue)
Fix too large farplane distance in terrain culling, adjust lod count for better gpu perf
Fix terrain quality remapping
Clamp renderdistance with a minimum to fix some edge case issues
Add padding to int params
Fix draw distance max cell calculation and snap to furthest lod
Make terrain ConVar developer only
Bring back terrain margins for collision with geoclip terrain
Add min radius for terrain culling
Improve culling shadow bounds check accuracy and performance
Remove unneeded map sample when culling terrain
Remove terrain test scene
Clamp uv for min/max height sampling
Fix building terrain check
Remove debug colour terrain instance data
Remove terrain mesh collider tests
Disable on deepsea
Update terrain quality on init
Fix FoliagePlacements when using MeshRootTerrain
Fix merge issues
Fix non-procedural scenes where the terrainRenderer has not been setup
Clean up Geoclipmap debug code
Fix LOD extents validation, causing rendering issues.
Fix craggy
Revert terrainHeights native array change
Init HeightTexture with mipcount 0
Adjust terrain cell border check
Use NativeArray to hold terrain heights for texture creation
Add debug logs
Fix NREs in terrain commands
Prevent terrain margins when using geoclip terrain
Change heightmap to RG16 to hold required terrain heights
Convert heightmaps when not RG16
Change heightmap sampling in terrain and foliage instancing
Replace changed settings assets with main
Replace Clear args dispatch with cpu clear for instance arguments
Fix geoclip InitBuffers function
Disable heightmap mips
Disable collision test code with ifdefs
Fix error from changing quality when terrain buffers have not been created
Fix height sample double scaling
Add TerrainData static property on TerrainMeta
Remove the Terrain static property
Fix server nre
Add heightsampling method with terraindata
Simplify TerrainRenderer operations
Clamp borders at corners of cells