Splatmap - CraftKontrol/GroundGen-for-Touchdesigner GitHub Wiki

2D Operator Splatmap Network

Introduction

The Splatmap operator generates splatmaps from point attributes, enabling precise control over how textures are distributed across terrain surfaces. Splatmaps are essential for assigning materials such as grass, rock, sand, or snow based on terrain features like height, slope, or custom masks.

Parameters
  • Layer Count: Number of texture layers to generate and blend.
  • Blend Mode: Determines how layers are combined (e.g., additive, max, custom).
  • Mask Input: Optional mask to control where each layer is applied.
  • Channel Mapping: Assigns each texture/material to a specific channel in the splatmap.
Usage

Use the Splatmap operator in the Splatmap Network to define and blend multiple texture layers. Adjust parameters to control the distribution and blending of materials. Splatmaps can be used directly in GLSL shaders for real-time rendering or exported for use in other applications.