Contribute on GitHub

Terrain Mesh Blend System

We introduce a new terrain mesh blending system. Certain terrain layers can blend into chosen meshes. Blend height, smoothness and random height offsets can be changed. These values can be saved to prefabs and can also be changed in scene per mesh. Heightmap blending can also be used to change the blending behaviour with respect to the mesh’s heightmap.

With Blending Without Blending

Terrain Layer Restrictions

Terrain layers should satisfy some restrictions before they are eligible to be a mesh blend layer.

Material Properties

The mesh should have a material with shader “terrain_mesh_blend_shader”. To enable heightmap blending, one should assign an heightmap texture and enable the shader flag “”.

Mesh Properties

One can change the mesh’s properties from the Components/Mesh/Vector Arguments windows in Entity Inspector.