branchrust_reboot/main/optimize_generate_textures_alloccancel

5 Commits over 0 Days - Infinitycph!

58 Days Ago
Revert back to TerrainMeta.GetHeights() that returns a 64MB managed array - keep the NativeArray for the textures themselves - fixes mismatch from GetHeight01() not returning the same value as the terrain's heightmap - tried calling GetHeight() on each pixel instead but is off by 1 step for certain heights so playing it safe
58 Days Ago
merge from main -> optimize_generate_textures_alloc
2 Months Ago
Fix VS putting the wrong class name
2 Months Ago
Add profiler samples
2 Months Ago
Fix heap watermark allocation of 280MB when generating textures on startup - switch from using managed array buffers in GenerateTextures() to NativeArray + Get/SetPixelData()