Horse chestnut tree package
--------------------------------------------
How to assign HD textures
--------------------------------------------
Unity's tree creator always creates a combined bark and leaf texture atlas at the size of 1024 by 1024 pixels.
In order to get crispier textures i manually created a 2048 by 1024 texture atlas - at least for the diffuse texture.
Unfortunately unity does not let us edit the originally created "optimized" materials nor does it let us create new materials using the built in optimized shaders (because they are "hidden").
Furthermore the new prefab workflow does not seem to serialize changes made to the assigned materials.
For all these reasons i created new HD tree prefabs using the following steps:
- create a new prefab
- copy the "tree" component from an existing tree (needed for the wind only) and empty all its content (trunk, branches leaves)
- add a mesh filter an mesh renderer component
- assign the desired tree mesh
- create 2 new materials, drag the "optimized bark" and "optimized leaf" shaders included in the package onto the materials in the project tab and assign the HD textures.
- assign the new materials
- assign a capsule collider
Once you have created the new (editable) materials you can delete the included "Shaders" folder.