unity-terrain

Automate Unity terrain creation, height manipulation, and texturing.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-terrain-lrbjk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-terrain
Source: https://github.com/lrbjk/FenShen_Remake_V0/tree/main/.codex/skills/unity-skills/skills/terrain
Command: npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-terrain-lrbjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity terrain operations streamline creating and modifying terrain in a scene, handling heightmaps, textures, and vegetation without manual setup.

Core Features & Use Cases

  • terrain_create: Create new Terrain GameObject with TerrainData
  • terrain_get_info: Retrieve terrain size, resolution, and layers
  • terrain_get_height: Get height at world position
  • terrain_set_height: Set height at normalized coordinates
  • terrain_paint_texture: Paint texture layers on terrain
  • terrain_generate_perlin: Generate natural terrain using Perlin noise
  • terrain_add_hill: Add smooth hills and varied terrain
  • terrain_smooth: Smooth terrain to reduce sharp edges
  • terrain_flatten: Flatten terrain to a target height
  • terrain_set_heights_batch: Batch update a region of heights

Quick Start

Create a flat terrain named MyTerrain and then apply Perlin-based height to shape it.

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 height manipulation for level design?

Generate natural Unity terrain shapes by applying the terrain_generate_perlin operation to create Perlin noise heightmaps, or use terrain_add_hill to sculpt smooth hills and varied landscapes across your scene.

Can I batch update terrain heights in Unity to shape large regions quickly?

Yes, you can batch update a region of terrain heights in Unity using the terrain_set_heights_batch operation, allowing you to efficiently modify large areas of the heightmap simultaneously for rapid level design.

What is the best way to paint textures and smooth terrain in Unity?

The best way to paint textures on Unity terrain is using the terrain_paint_texture operation to apply texture layers, while terrain_smooth reduces sharp edges on heightmaps for a more natural landscape appearance.

Does this Unity terrain workflow require external dependencies or manual setup?

No external dependencies are required for this Unity terrain workflow, as it handles terrain creation, heightmap manipulation, and texture painting automatically through coordinated terrain operations with clear parameter contracts.

Why does my Unity terrain have sharp edges after generating Perlin noise heights?

Sharp edges on Unity terrain appear after generating Perlin noise heights when elevation changes are too abrupt, which you can fix by applying the terrain_smooth operation to blend heightmap transitions and reduce jagged peaks.