Publish swatch attributes
 
 
 

With the Asset Editor you can publish swatches (for example, a swatch for a blinn shading node) by publishing the node’s associated message attribute. Swatches provide you with visual feedback on shading node properties.

To publish a swatch

  1. Make sure that a shading node is encapsulated by a container in the scene.
  2. Open the Asset Editor ( Assets > Asset Editor).
  3. Pin the container with the shading node.
  4. Expand the shading node’s attribute list and select the Message attribute.
  5. Publish the Message attribute to the container by either clicking the Pubilsh Selected Attributes button ( ) or the Publish Selected Attribute with a Specified Name button ( ).
    NoteSince the Message attribute will publish with the default name Message, it is best that you publish this attribute with a more meaningful, custom name. This is especially important when a container contains multiple published swatches for multiple shading nodes.
  6. Publish additional controls for the shading nodes (for example, color, transparency, etc.).

    If you open the container’s Attribute Editor, the swatch now appears in the Published Attributes section. If you modify attributes related to the shader, the swatch updates accordingly.