Знатоки, не могли бы объяснить каждый параметр Terrain?
Вот объяснения из учебника по которому учусь:
• Terrain Width, Height, and Length: Measured in meters. Note that, Height
here sets the maximum height that the terrain's topography can feature.
• Heightmap Resolution: The resolution of the texture that Unity stores to
represent the topography in pixels. Note that, although most terrain textures
in Unity are created at a power of two dimension—128x128, 256x256, 512x512
and so on, heightmap resolutions always add an extra pixel because each
pixel defines a vertex point; so in the example of a 4 x 4 terrain, four vertices
would be present along each section of the grid, but the points at which they
meet, including their endpoints would equal to five.
• Detail Resolution: The resolution of the graphic, known as a Detail
resolution map, that Unity stores in your project metadata. This defines how
precisely you can place details on the terrain. Details are additional terrain
features such as plants, rocks, and bushes. The larger the value, the more
precisely you can place details on the terrain in terms of positioning.
• Detail Resolution Per Patch: The resolution of each patch of the terrain,
that is, painted on.
• Control Texture Resolution: The resolution of textures when painted
onto the terrain. Known as Splatmap textures in Unity, the Control Texture
Resolution value controls the detail of the gradients created between textures
you paint on to the terrain. As with all texture resolutions, it is advisable to
keep this figure lower to increase performance. With this in mind, it is a good
practice to leave this value set to its default of 512. The higher this value, the
finer control you will get with edges between multiple textures in the
same area.
Вроде читаю и понимаю что написано, но вот не понимаю смысла написаного.
Heightmap Resolution - это резолюция текстуры. Какой текстуры? Размер же нашего терайн указывается в Width, Height, and Length. Добавляется экстра пиксель в места где вершины встречаются. Не понимаю.
Detail Resolution - резолюция размещение элементов (кусты, камни, деревья). Это в каких масштабах? Относительно чего? Одного квадратного метра или как? Типа на метр я могу поставить 1024 кустиков или как? Не опнимаю.
Detail Resolution Per Patch - чем является этот "клочок"?
Не могли бы подробнее обьяснить, желательно с примером, что к чему тут.