User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

vertex_colors [2018/10/18 10:14]
vertex_colors [2021/04/27 09:19] (current)
Line 1: Line 1:
 +======Vertex Colors======
 +Vertex colors are red, green, and blue values stored for each vertex in the model.  Generators that create geometry can compute vertex colors if requested. Each generator has a set of "Vertex Color" properties that either set the color directly or modify a color they inherit from their parent.  Modifying inherited colors provides a mechanism for smoothly transitioning colors across nodes and generators.
 +
 +>**Note:** Vertex colors are only computed when the "Vertex Colors" compute flag is enabled on the [[tree_generator#Compute Flags|Tree]] generator.
 +
 +===== Viewing Vertex Colors =====
 +[[tooltree_window#Toolbar|Render modes]] have been provided to see the vertex colors on the model. Select "Color," "Red," "Green," or "Blue" from the "Render" button on the toolbar to preview vertex colors as shown below.
 +
 +{{ ::vertex_color_view.jpg?nolink |}}
 +
 +===== Mesh Assets =====
 +[[kcmeshes|Mesh assets]] that are imported from ".FBX" files will retain vertex colors if they are present in the model. These colors can be added to or used to replace the procedurally-computed vertex colors.
 +