Terrain Generation Tool

Walkman

(0)
$4
Publisher Walkman
File size 276.41kB
Number of files 7
Latest version 1
Latest release date 2023-05-10 12:20:19
First release date 2023-05-10 12:20:19
Supported Unity versions 2018.4.2 or higher

The TerrainRenderer is a tool that generates a 3D terrain mesh from a 2D heightmap texture. It allows users to adjust the height of the terrain and apply a custom shader to control the visual appearance of the terrain, there's already one . The tool provides a simple user interface with keyboard controls for adjusting the terrain height and orientation in real-time, allowing for easy exploration and customization of the generated terrain. Overall, the TerrainRenderer is a versatile tool for quickly and easily generating detailed terrain meshes for use in Unity projects.


  1. Attach the TerrainRenderer script to the empty game object.
  2. In the Inspector window, you will see the properties of the TerrainRenderer script. Assign a height map texture to the "heightMap" field by dragging and dropping a texture onto the field. The height map texture should be a grayscale image where the darker pixels represent lower terrain and the lighter pixels represent higher terrain.
  3. Assign a shader to the "shader" field by selecting an appropriate shader from the list of shaders in your project.
  4. Adjust the "terrainHeight" field to set the initial height of the terrain. If you want to change it in the Play mode, open your GameObject with TerrainRenderer, in the bottom you will see the material, change those values to fit your generated terrain. To save these settings - open shader with any text editor and change the values inside the shader file.

Top Publisher Assets