unity-terrain

Create and edit Unity terrain heightmaps and texture layers.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-terrain-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-terrain
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-skills/skills/terrain
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-terrain-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of building and editing Unity terrains by letting you create terrain data, shape heights, and paint layers without manual map editing.

Core Features & Use Cases

  • Terrain Creation: Create a new Terrain GameObject with configured size, resolution, and position.
  • Height Editing: Set, batch edit, smooth, flatten, and generate natural terrain forms such as hills and rolling landscapes.
  • Texture Painting: Paint terrain texture layers on existing terrain setups after querying available layers.
  • Use Case: Use it to turn a flat Unity scene into a playable environment with hills, plateaus, and blended ground materials.

Quick Start

Ask the AI to create a Unity terrain and generate a natural-looking landscape with smooth hills, then paint the appropriate texture layer onto the areas you want to look like grass or dirt.

Frequently Asked Questions about unity-terrain

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

FAQPage Schema
How do I generate Unity terrain heightmaps with Perlin noise?

Unity terrain heightmaps can be generated using Perlin noise to procedurally create natural hills and rolling landscapes. This Skill supports terrain generation by setting and batch editing heights to form smooth, natural terrain features without manual map editing.

Can I paint texture layers on existing Unity terrain?

Texture painting is supported on existing Unity terrain setups by querying available layers and applying layer-index painting. You must have existing terrain layers configured before you can paint texture layers onto specific areas like grass or dirt.

How do I sculpt and smooth Unity terrain heightmaps programmatically?

Sculpting and smoothing Unity terrain heightmaps is done through batch height updates and normalized coordinate controls. This Skill supports terrain sculpting, smoothing, flattening, and height queries to refine terrain forms across new or existing scene terrain.

What is the best way to create a Unity terrain from scratch in a scene?

Creating Unity terrain from scratch requires TerrainData creation with configured size, resolution, and position. This Skill enables creating a new Terrain GameObject and generating natural-looking landscapes with smooth hills, turning a flat scene into a playable environment.

Do I need existing terrain layers set up before painting textures in Unity?

Existing terrain layer setup is required before performing texture operations in Unity. This Skill handles layer-index painting for texture layers on existing terrain setups, meaning you must configure terrain layers in your Unity scene first before painting can occur.

Why does Unity terrain generation require normalized coordinates and batch height updates?

Normalized coordinates and batch height updates are required for Unity terrain generation to ensure precise heightmap editing across the terrain grid. This approach allows accurate terrain sculpting, smoothing, and flattening while maintaining performance during heightmap modifications.