How to convert unity terrain to mesh | HS Vegetation

Опубликовано: 26 Апрель 2026
на канале: Hami Sertcan (Eng)
415
5

Unity Store Link:
https://assetstore.unity.com/packages...

In this video, I tried to introduce the Terrain to mesh feature of HS Vegetation that I prepared for Unity. With the Terrain to mesh tool, you can easily convert Unity terrains to mesh and create vegetation. This tool also allows you to adjust the number of surfaces of the model to be created. Thus, it is possible to obtain a terrain of the desired quality.
♦ With the tool, you can export the texture layers you painted the terrain separately or together and you can easily create vegetation using these textures you exported.

♦ This video is not the final version of the program. I made various additions to the program after shooting the video. You can take a look at the videos I prepared about new features.

About HS Vegetation

With HS Vegetation, you can create vegetation quickly and intuitively in Unity editor mode. With this tool, you can easily add grass, flowers, trees and more to your scene by painting your objects. Works in all render pipelines (Built in, URP and HDRP)

✔ Paint Texture & Place Plants
• You can paint objects in edit mode with the Paint tool and add plants to the areas you paint. This method is more efficient than adding plants directly to the scene. Because with this method, you mark the areas where the plants will be. When you want to change the vegetation you created, you can delete the layer and recreate your vegetation with new settings.

✔ Create Exactly the Vegetation You Want
• Vegetation Editor provides you with almost all the settings you may need to create vegetation. You can adjust the number of objects to be added to your scene, their sizes, positions, rotations, mesh structures, random colors and all similar features as you wish.

✔ Works in all Render Pipelines
• All codes and shaders work in Built in, URP and HDRP.

✔ Works on Terrains Created with Unity Terrain System
• You can convert unity terrains to mesh objects with Terrain To Mesh Converter Tool and create vegetation on these objects.
• You can save layer paintings as textures. In this way, you can easily add objects to painted areas.

✔ High Quality Textures for Various Plant Types (1024x1024)
• Grass (26 pieces): Different grass types and yellowed versions of the same grass texture
• Shrub (9 pieces): Different variations of the same shrub type
• Flower (39 pieces): Flowers in different colors and variations

✔ Optimized Performance
• Objects added to the scene can be turned into a single object with the Mesh Combiner code. In this way, the number of batches is reduced and a great improvement is provided in terms of performance.
• The terrain can be automatically divided into cells and the LOD system can be added to these cells.
• With the distance culling feature in the special shaders in the Asset, performance can be increased by preventing objects at long distances from being rendered
• With the texture atlas generator, you can create texture atlases. In this way, you can increase performance by ensuring that all objects such as grass, flowers, and bushes that you will use in your scene use a single texture. The code automatically performs the necessary uv coordinate editing for the objects.

✔ User-Friendly Interface
• You don't need to read pages of documentation.

• The program is extremely easy and intuitive to use.

• It is enough to watch the introductory video I published about the use of the program.

✔ Special shaders
• GrassShader: You can use it for grass, bushes, and flowers. With this shader:
Plants can be colored according to the color of the terrain.
Plants can be colored in random colors with the second texture to be added
You can add a wind effect to plants. Features such as the speed of the effect, the amount of effect, and the form of effect can be adjusted.
With the Distance Culling feature, you can prevent distant objects from being rendered to increase performance.
• Leaf and bark shaders for trees:

✔ Extra Tools
• With Mesh Combiner, you can combine all children of an object into a single object. You can use this tool in your other projects and increase game performance.

• With the Paint Tool, you can paint your objects in edit mode

• With Gradinet Texture Generator, you can quickly create gradient textures. You can mix this texture with the main texture color of your plants and make them appear in random colors.

• With Texture Atlas Generator, you can convert the textures you want to use into texture atlas. It is also possible to scale the textures as you wish.

• With Texture Editor, you can make color adjustments for your textures. You can make your textures gray-scale.

♦ Thanks to all these texture editing tools, you do not need to use an additional texture editing program. You can make all the arrangements within Unity, thus saving time. You can use these tools as a supporting tool in your other projects