Export Grass Atlas Texture
Packs all textures used by the grass objects stored inside TerrainData object into a texture atlas.
atlasRect - Returns an array of rectangles containing the UV coordinates of each packed grass texture inside atlas, or null if packing fails.
The resulting texture atlas will be as large as needed to fit all grass textures but only up to resolution in each dimension. If the grass textures can't all fit into a texture atlas of the desired size then they will be scaled down to fit.
Last updated