AddTerrainTexture()

Syntax

AddTerrainTexture(#Terrain, Layer, WorldSize, DiffuseSpecular$, NormalHeight$)
Description
Adds a texture to the #Terrain.

Parameters

#Terrain The terrain to use.
Layer The layer index to apply the texture. The first layer index starts from 0. The maximum number of layers is defined when creating the terrain, see CreateTerrain().
WorldSize The world size of the applied texture.
DiffuseSpecular$ The name of the diffuse specular map image to apply to this layer.
NormalHeight$ The name of the normal height map image to apply to this layer.

Return value

None.

See Also

CreateTerrain()

Supported OS

All

Terrain Index - BuildTerrain() ->