I have problems using the tree brush in terrain. I made some trees on blender and works well when you drag to scene but if I use the trees with the brush the leaves doesn't appear.
Hi guys,
I have problems using the tree brush in terrain. I made some trees on blender and works well when you drag to scene but if I use the trees with the brush the leaves doesn't appear.
The left trees were placed with the tree brush.
Thanks!
Answer by termway · Dec 05, 2015 at 07:40 PM
You need to :
place your trees into a Ambient-Occlusion folder
have two materials for the tree (body & leaves)
use trees shaders (Nature/Soft Occlusion Bark & Nature/Soft Occlusion Leaves)
From trees documentation :
The mesh should always have exactly two materials, one for the tree body and the other for the leaves. Trees must use the Nature/Soft Occlusion Leaves and Nature/Soft Occlusion Bark shader. In order to use those shaders you also have to place the tree in a special folder that contains the name “Ambient-Occlusion”. When you place a model in such a folder and reimport it, Unity will calculate soft ambient occlusion in a way that is specifically designed for trees. The “Nature/Soft Occlusion” shaders rely on the folder naming convention and the tree won’t render correctly if you don’t follow it.
it's not working yet :( -Ambient-Occlusion--done -body & leaves--done -Nature/Soft Occlusion Bark & Nature/Soft Occlusion Leaves--done -even "The tree mesh should have fewer than 2000 triangles"--done