unity游戏自定义树木导入插件Custom Tree Importer 3.0,从Maya、3ds Max、Modo或Blender中导入手动建模的树,并对其进行调整以与unity的tree creator明暗器以及定向和径向风区兼容,或者使用自定义着色器(也支持基于物理的照明)创建平滑淡入的LOD组。使用地形引擎添加您的树或将它们作为独立的游戏对象放置。
Benefits
Import manually modeled trees from Maya, 3ds Max, Modo or Blender and let them get adjusted to be compatible with unity's tree creator shaders and directional and radial wind zones or create smoothly fading LOD groups using custom shaders which also support physically based lighting.
Add your trees using the terrain engine or place them as independent game objects.
Requirements
Please do not expect the custom tree importer to simply make any tree just work: You will have to spend some time tweaking your model.
First and foremost the custom tree importer needs trees to be imported as nested, hierarchical objects.
Hierarchical setup of the tree
In order to be able to calculate the influence of wind on the trunk, the branches and leaf planes the importer script has to know about the different parts of the tree and their origins.
For this reason you will have to provide trees as nested, hierarchical objects like shown on the screen shots attached.
The custom tree importer script works as asset postprocessor. It combines all submeshes into one and bakes the needed bending information into vertex colors and uvs.
Bending
Adjust bending on each level of your tree using control tags which let you specify its reaction to main wind, main and edge turbulence to create convincing and lively bending trees.
所支持的Unity版本:5.5.0 或更高
(并不是所有高版全部都兼容的,具体以unity官网为准,这里的支持版本是复制unity官网的,并不准确,大家自行测试)