unity-terrain

Automate Unity Terrain creation, heightmap adjustment, and texture painting.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/krl76/MP-Study-Projects --skill unity-terrain-krl76
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-terrain
Source: https://github.com/krl76/MP-Study-Projects/tree/main/Practice1/.codex/skills/unity-skills/skills/terrain
Command: npx skills add https://github.com/krl76/MP-Study-Projects --skill unity-terrain-krl76

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps Unity developers automate terrain creation and modification within scenes, speeding up landscape prototyping and iteration.

Core Features & Use Cases

  • CreateTerrain and manage TerrainData
  • Get and set terrain height and region data
  • Paint textures and apply texture layers
  • Generate terrain with Perlin noise, add hills, or flatten regions for varied landscapes

Quick Start

Create a new Terrain named MyTerrain and apply a Perlin-noise heightmap to generate rolling hills.

Frequently Asked Questions about unity-terrain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Unity terrain creation and generate landscapes with Perlin noise?▼

To automate Unity terrain creation, generate landscapes by applying a Perlin-noise heightmap to a new or existing terrain object, producing rolling hills and varied elevation deterministically.

What is the best way to paint textures on Unity terrains programmatically?▼

Painting textures on Unity terrains programmatically involves applying texture layers to specific regions, automating the level design task of texturing landscapes without manual brushwork.

Can I set terrain height and flatten specific regions in a Unity scene?▼

Yes, you can set terrain height and flatten specific regions in a Unity scene by adjusting heightmap data, allowing precise modification of elevation for targeted landscape areas.

Does this terrain automation approach work with existing TerrainData objects?▼

Yes, terrain automation integrates with existing TerrainData objects, modifying heightmaps and texture layers on current terrains or creating new ones when needed for level design tasks.

How do I add hills and adjust heightmaps for Unity level design?▼

You add hills and adjust heightmaps for Unity level design by executing parameter-based operations that modify terrain elevation data, speeding up landscape prototyping and iteration.

What are the limitations of deterministic parameter-based terrain generation in Unity?▼

Deterministic parameter-based terrain generation in Unity is limited to operations like terrain_set_height and terrain_generate_perlin, meaning complex erosion or real-time geological simulation require alternative approaches.