branchrust_reboot/main/naval_update/foliage_instancing_islandscancel

8 Commits over 0 Days - ∞cph!

19 Days Ago
Clean up left over shader constants Remove unused foliage terrain cbuffer update functions
19 Days Ago
Merge from parent
19 Days Ago
Remove CPU height sampling option can't be supported with mesh terrains Do not invalidate cells when pushing a mesh terrain (only invalidate when nearest is changed) Update terrain cbuffer after switching terrain data
20 Days Ago
Merge from parent
20 Days Ago
Fix terrainData list removing, clamp activeTerrainIndex to length, and move matrix setup into terrainData constructor
23 Days Ago
MeshTerrainRoot should now auto update terrain size field (needed for terrain map sampling), and update island prefabs with terrain size field.
23 Days Ago
Check for closest island in increments instead of every frame, also profiler sample fix.
23 Days Ago
FoliageGrid renders on closest island and resets when island changes. Handle cases of terrain being rotated when sampling terrain maps by extracting 2D worldToLocalMatrix.