Part
Terrain layers
You might say: ground material layers, landscape layers, splat maps
Terrain layers are the ground materials that overlap on the surface, such as grass, dirt, rock, sand or snow. A mask, weight, vertex value or runtime cache decides how much of each layer appears.
- What it does
- Turns a single ground mesh into material zones with useful transitions and artist control.
- Ask
- Which layer owns this pixel, what supplies its weight, and what should remain visible beneath it?
- Trouble
- A layer fills the whole map by accident, boundaries are soft and airbrushed, or one layer loses its ground colour under a decal.
What to look for
- Grass, dirt and rock have different colour, roughness and relief
- A painted patch follows a path, slope or drainage line
- Overlapping edges keep some detail from both materials
Catalogue: Blend method
- Splat or weight map: A painted or generated weight map controls the influence of each terrain layer. The method is the explicit per-layer weight field. The landscape type or engine is only the surface it is used on.
- Vertex colour: Vertex colour stores blend data on terrain mesh vertices so the shader can mix materials without a separate full-resolution mask. The method is data carried by mesh vertices. The visible colour of the ground is not the blend control.
- Height-based blend: A layer's height map changes the blend edge so raised grains and stones sit above a filling material. The method uses height data at the edge. A smooth colour gradient alone is not a height blend.
- Runtime virtual texture: A GPU-built texture cache stores terrain shading and receives material information from surfaces and decals at runtime. The method is a runtime shading cache. The large landscape area is a workload, not the definition of the method.
- Tile transitions or autotiling: A tile system uses labels on vertices, edges or faces and a formula to choose the tile to place. The method is the data and rule used to identify a tile. A biome or art style is only the surface it is used on.
Connections
- Controls: Height blend
- See also: Decals
- Controls: Albedo
Sources
- Epic Games, Landscape Materials in Unreal Engine, Layer Weights and Ordering
Landscape materials operate as a blend between multiple layers, where painted blend weights control the influence of each layer.
- Unity Technologies, Terrain Layers, Terrain Layers
You can use multiple Terrain Layers, each with different Textures, to build up interesting, varied Terrain surfaces.
- Epic Games, Landscape Materials in Unreal Engine, Landscape Layer Blend Node
The Landscape Layer Blend node blends together multiple per-layer values, such as texture samples or materials.
- Johan Andersson, Terrain Rendering in Frostbite Using Procedural Shader Splatting, ch. 5.2.3, Masking
The resolution of the mask computed from the procedural slope in the shader is limited by the resolution of the heightfields. Therefore at extreme close-ups the masks can become blurry due to bilinear texture magnification of the heightfields. This can create dull and unnaturally smooth transitions between materials.
Use it on your project
teardown-apply: hold "Terrain layers" (terrain-layers) from the teardown at https://teardownatlas.com/environment-art/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal