Skip to main content

Surface Load

Loads surface layers from disk from standard image formats.

NodeImage_e20f3064-d958-4d7c-841d-f6b39f3981c4

Tags: Surface, Blendmap, Heightmap, Normalmap, Splatmap

Parameters

Cell Size [Float]
Square size of each terrain cell.
Layers [Multi-Type List]
Images to be loaded into layers. Images with different resolutions can be loaded, whereas the surface resolution will be determined by the first.
Blendmap [Compound]
Loads a blend map into a blend layer.
File [File]
Image with the blend values. A grayscale image is expected, or else only the red component will be used.
Texture Index [Int]
The index of the texture that this blend map applies to.
Heightmap [Compound]
Loads a height map image into a height layer.
File [File]
Image with the heights of the surface. A grayscale image is expected, or else only the red component will be used.
Height Scale [Float]
Scale of the height values. Since the images value will be in the 0-1 range, this indicates the multiplication factor.
Interpolation [Choice]
The type of height data interpolation. Because surfaces are often rendered as triangle or quad meshes, there is more than one possible setup. Different target platforms may use different setups, which could affect, for instance, the positioning of the objects on the surface.
Top Left means that the quads are split from the top left corner to the bottom right corner.
Top Right means that the quads are split from the top right corner to the bottom left corner.
Bilinear assumes that the quad is not split and the height values are bilinearly interpolated.
Normalmap [Compound]
Loads a normal map image into a normal layer.
File [File]
Image with surface normals.
Splatmap [Compound]
Loads a splat map image into four blend layers.
File [File]
Image with the colors of the surface (used for coloring or splat mapping). A color image is expected, whereas each component will be mapped into a different blend layer, in the RGBA order.
Texture Index [Int]
The starting texture index that these blend maps apply to.

Inputs

This node has no native inputs.

Outputs

  • Output [Surface]: The loaded surface entity.