DEVELOPMENT TOOL

Image Terrain Generator

Unity image-to-terrain tool · v1.0

ReleasedBuy on Unity Asset Store ↗Released 2026-11-30

List price US$29.99 · See store for current pricing and offers

USER GUIDE

Tool overview & user manual

For version v1.0.0

Overview

Image Terrain Generator converts reference images into procedural surface terrain and water for Unity. It uses local image analysis and procedural relief for land and seabed. It is not a geographic reconstruction or surveying tool.

Installation and requirements

Use a Unity 6.3 LTS URP project (development environment: 6000.3.8f1, Windows/DX12). Install Universal Render Pipeline using Package Manager and assign a URP pipeline asset in Graphics/Quality settings. Import the package and allow scripts and shaders to compile. Other Unity versions, platforms, Built-in and HDRP are not certified by this manual. Open Tools > Image Terrain Generator > Open.

Create your first world

  1. Open Tools > Image Terrain Generator > Open.
  2. Select Image Generation. Drag CoralAtollAerial.png from SampleImages into Reference Image.
  3. Set Image Type to automatic detection. If the classification is wrong, select the correct type manually.
  4. Set X width, Z length and upper/lower Y bounds. Check the converted world dimensions and choose a modest mesh density.
  5. Click View, the button that builds the terrain preview. Inspect the shape, water and layers.
  6. Click Generate once the preview is ready. Wait until the generation operation finishes.
  7. Use the available import action to load the generated world into the scene. Save the scene. When the input or settings change, run View again before generating.

Image selection

Automatic detection chooses an image interpretation. For a wrong classification, select the corresponding image type manually. Aerial imagery is useful for coastlines and terrain structure; ordinary landscape photos require inferred geometry. Height maps encode elevation; color or contour maps require suitable interpretation and cannot guarantee exact real-world elevation. Example files include ColorHeightMap.png, ContourTerrainMap.png, ForestLakeAerial.png, DesertCanyonAerial.png and AlpineForestValleyPhoto.png. Use input images you are entitled to process and distribute.

Example reference image
Example reference image

World dimensions and meshes

X and Z specify horizontal extent. Upper and lower Y specify the vertical bounds. Aspect settings and automatic ratio conversion can alter effective dimensions; review the converted size shown in the panel. Mesh face count and water topology quality control geometry density. World LOD enables distance-dependent mesh detail; maximum level and per-level retention affect triangle count. Increasing resolution or world size can increase CPU, GPU, memory and storage demand.

Preview and surface appearance

Expand or collapse the left settings panel. Use the preview view reset, grid, layers, perspective, section, surface, water, boundary and contour controls. The contour slider adjusts the contour display. Morning, noon, evening, night and skybox controls affect preview appearance. Inspect terrain and water before committing generation. Surface classification and materials are procedural; output can differ from the source image. Asset Management provides the available reusable terrain and material resources.

Example generated result
Example generated result

Generation, import and storage

Generate writes world data; wait for completion before importing or moving files. Generated data may be saved outside the product folder, including Assets/StreamingAssets/GeneratedWorld. Keep generated manifests, height fields, chunk data and layer maps together when transferring a generated world. The ImportController inspector provides world initialization/reload and surface or sea appearance update actions. Back up the scene and output before replacing or deleting generated worlds. Clear Generation Cache removes tool-managed cached data and is not a substitute for deleting a saved world.

Water and runtime

Generated surface water uses the included water and source system. To adjust water-source settings, select WaterSourceSystem in the Hierarchy. Its Inspector provides liquid settings, depth classification and source-driven hydrology. Runtime streaming and LOD depend on the imported world configuration. Test camera movement and collision in Play mode. Keep the required generated files for non-baked runtime worlds.

Demo scene

Open Demo/DemoScene.unity and enter Play mode. The demonstration contains baked terrain; its source manifest is not required for initial baked-scene display. Click the Game view to control the mouse; Escape releases it. W/A/S/D move, Space ascends, Ctrl descends and Shift accelerates. The camera collision setting uses a CharacterController. The demo is a large scene; allow time for loading. Use SampleImages to generate a separate world rather than overwrite the demonstration.

Troubleshooting

Empty preview: assign an image and press View. Pink materials: check URP assignment, shader compilation and Console errors. Missing generated data: select the correct manifest/folder or use a baked scene that does not need regeneration. Slow generation or memory pressure: reduce mesh density or world size and close unnecessary views; save work before large operations. Incorrect layers: verify assigned terrain layer assets and regenerate/reimport as needed. With fast Play mode, if behavior is inconsistent, use normal Domain/Scene Reload while troubleshooting.

Limits and support

Results depend on image interpretation, settings and hardware. No external DEM/OSM service is required by the current generator. No exact geographical fidelity, unlimited world size or compatibility with every platform is promised. For support, use the publisher contact on the Asset Store and provide Unity/URP versions, OS, settings, reproduction steps and relevant Console messages. See Third-Party Notices and Product Notices.