How to set Terrain Resolution in Unity
Notes:
How to set Terrain Resolution in Unity:
Note: You must adjust the terrain resolution before creating any scenery or environment.
Select Terrain – Click on Settings button in the Inspector - Navigate to Resolution section
Resolution section properties:
Terrain Width:
- Allows us to adjust width of the terrain in meters (X axis)
Terrain Length:
- Allows us to adjust length of the terrain in meters (Z axis)
Terrain Height:
- Allows us to adjust height of the terrain in meters (Y axis)
- Indicates maximum height of hills we create
Height map Resolution: 2 to the power + 1
- controls resolution of the height map texture in pixels
- Height map is a grayscale image which stores information like which parts of the terrain are raised to what heights or altitudes, and which parts of the terrain is not raised at all.
Detail Resolution: 2 to the power
- controls resolution of the detail map texture responsible for drawing Terrain details (grass, rocks etc)
Detail Resolution Per-Patch: (8 to 128)
- Square size of each patch
Control Texture Resolution:
- controls the resolution of splat map texture that blends different textures of Terrain
Base Texture Resolution:
- controls the resolution of distance map texture used by the Terrain when viewed from a distance greater than Base map distance
- If we move away from the terrain after some distance “a base map texture” is created by unity and displayed to user for efficiency.