Export Heightmap Normal Texture

Texture2D ExportHeightmapNormalTexture(int resolution = 0)

Exports HeightmapNormal texture from TerrainDataarrow-up-right object.

If resolution property is set to 0, then exported texture size is read from the TerrainDataarrow-up-right.


Texture2D[] ExportHeightmapNormalTexture(int resolution, int splitCountHorizontal, int splitCountVertical)

Splits terrain into 2D grid by splitCountHorizontal and splitCountVertical amount and for each chunk calculates HeightmapNormal texture.


Texture2D ExportHeightmapNormalTexture(int resolution, int splitCountHorizontal, int splitCountVertical, int splitColumnIndex, int splitRowIndex)

Splits terrain into 2D grid by splitCountHorizontal and splitCountVertical amount and calculates HeightmapNormal texture for chunk with index splitColumnIndex and splitRowIndex.

Last updated