OctaneRender® uses vertex colors or other vertex attributes while rendering materials. OctaneRender® loads and interpolates both real numbers and colors over the scene's triangles and sends them to the OSL shaders. Other practical uses would be to paint grayscale onto the surface in Vertex Paint mode and use that Color Attribute as a mask for a Mix material (figure 1).



Color Vertex Attribute



Figure 1: The Color Vertex Attribute used to mask between Mix materials



Color Vertex Attribute



Figure 2: Color Vertex example from figure 1


Color Vertex Attribute Parameters

Name - This name must coordinate with the name of the Color Attribute in the object's Data properties tab.