meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
atclusters [2022/11/24 14:19] – steph.jorgensen | atclusters [2023/04/03 17:17] (current) – steph.jorgensen | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Clusters ====== | ====== Clusters ====== | ||
- | {{: | ||
While low triangle counts are essential in real-time trees, maintaining visual aesthetics is also important. Instead of using individual leaf maps on many pieces of leaf geometry in a real-time tree, it is often better to use a texture that includes many leaves with their branch/twig structure to capture the same fullness with much lower triangle count. This is a " | While low triangle counts are essential in real-time trees, maintaining visual aesthetics is also important. Instead of using individual leaf maps on many pieces of leaf geometry in a real-time tree, it is often better to use a texture that includes many leaves with their branch/twig structure to capture the same fullness with much lower triangle count. This is a " | ||
[[https:// | [[https:// | ||
- | \\ | + | {{leaf_cluster_2.png? |
- | \\ | + | |
> **Note**: The term " | > **Note**: The term " | ||
- | ===== Making a Cluster | + | ===== Making a cluster |
Making a Cluster is similar to making any other tree, but you are only concerned with a single branch structure. You can start one of these from scratch, or you can isolate a branch from a previously-made tree as a starting point. You can isolate parts of the tree by hiding Generators in the [[toolgeneration_editor|Generation Editor]] or use [[tree-window-toolbar-reference# | Making a Cluster is similar to making any other tree, but you are only concerned with a single branch structure. You can start one of these from scratch, or you can isolate a branch from a previously-made tree as a starting point. You can isolate parts of the tree by hiding Generators in the [[toolgeneration_editor|Generation Editor]] or use [[tree-window-toolbar-reference# | ||
- | ====Setup | + | ====Setup |
- | {{ : | + | |
You will ultimately be exporting textures that will be wrapped on a piece of geometry used in another tree. It is better to model this using an orthographic, | You will ultimately be exporting textures that will be wrapped on a piece of geometry used in another tree. It is better to model this using an orthographic, | ||
+ | |||
+ | {{cluster_1.jpg? | ||
Change the viewport camera in the [[tooltree_window|Tree Window]] from Perspective to XY plane, which will give you an above/ | Change the viewport camera in the [[tooltree_window|Tree Window]] from Perspective to XY plane, which will give you an above/ | ||
Line 22: | Line 23: | ||
\\ | \\ | ||
- | ====Leaf | + | ====Leaf |
Having correct normals is very important in order to have a cluster map that lights correctly. Many nuances of individual leaf lighting, such as specular highlights from different angles, can be easily lost when creating a cluster due to texture resolution and mipmap filtering. Leaves that more or less face the camera and have bold normals (where each leaf mostly lights from the same direction) tend to work better. | Having correct normals is very important in order to have a cluster map that lights correctly. Many nuances of individual leaf lighting, such as specular highlights from different angles, can be easily lost when creating a cluster due to texture resolution and mipmap filtering. Leaves that more or less face the camera and have bold normals (where each leaf mostly lights from the same direction) tend to work better. | ||
Line 36: | Line 37: | ||
A special form of Collision called [[toolcollision# | A special form of Collision called [[toolcollision# | ||
- | ====Texture | + | ====Texture |
Once the cluster is exported and brought back in as a material, it will be difficult to do [[toolmap_editor|texture adjustments]]. This is because you will be editing a map that has many things (leaves, branches, twigs, etc.) that may not all adjust in the same way. | Once the cluster is exported and brought back in as a material, it will be difficult to do [[toolmap_editor|texture adjustments]]. This is because you will be editing a map that has many things (leaves, branches, twigs, etc.) that may not all adjust in the same way. | ||
For this reason, be sure to do all your texture adjustments before exporting. If you follow the guidelines for making good [[kcmaterialspbr|PBR Materials]] in the cluster file, the final material exported will also work well with PBR. | For this reason, be sure to do all your texture adjustments before exporting. If you follow the guidelines for making good [[kcmaterialspbr|PBR Materials]] in the cluster file, the final material exported will also work well with PBR. | ||
- | ===== Exporting the Cluster | + | ===== Exporting the cluster |
{{ : | {{ : | ||
Before exporting the cluster maps, enable the [[tree_window# | Before exporting the cluster maps, enable the [[tree_window# | ||
Line 47: | Line 48: | ||
The cluster can then be exported by choosing the option " | The cluster can then be exported by choosing the option " | ||
- | ===== Using a Cluster | + | ===== Using a cluster |
Switch to your actual tree and import the cluster maps into a [[toolmaterialsassetsbar|Material Asset]] the same way as any other material. You will most likely also want to create a [[toolcutout_editor|Cutout]] mesh for it to minimize empty space while keeping the triangle count manageable. | Switch to your actual tree and import the cluster maps into a [[toolmaterialsassetsbar|Material Asset]] the same way as any other material. You will most likely also want to create a [[toolcutout_editor|Cutout]] mesh for it to minimize empty space while keeping the triangle count manageable. | ||