branchrust_reboot/main/naval_update/foliage_instancing_islandscancel
5 Commits over 0 Days - ∞cph!
Fix terrainData list removing, clamp activeTerrainIndex to length, and move matrix setup into terrainData constructor
MeshTerrainRoot should now auto update terrain size field (needed for terrain map sampling), and update island prefabs with terrain size field.
Check for closest island in increments instead of every frame, also profiler sample fix.
FoliageGrid renders on closest island and resets when island changes. Handle cases of terrain being rotated when sampling terrain maps by extracting 2D worldToLocalMatrix.