Using the ICE Particle Color in the Render Tree

 
 
 

When you set the particle color in the ICE tree, it's used only for their display in the viewports. However, you may want to use this color for rendering the particles, especially if you want to override the color of instanced geometry. This is easy to do by using the Color Attribute shader.

For more information about the attribute shaders, see Bringing ICE Data into the Render Tree with Attribute Shaders.

To use the ICE particle color in the render tree

  1. Set up a particle system in the ICE tree as you like.

  2. Set the particle color in the ICE tree using any of the compounds or nodes that set the Init_Color or Color attribute (see Particle Color Attributes).

    In the case of particle instanced geometry, the geometry's color is used when rendered.

    Below, the particle instanced geometry is displayed in wireframe using the particle color (orange), but when rendered, the instanced geometry color is used (gray).

  3. Open the render tree and drag the Color Attribute shader into the render tree workspace.

  4. In the Color Attribute property editor, select Color (or Init_Color) as the Attribute to use in the shader.

  5. Connect the Color Attribute shader's output to any color input port (such as the Diffuse port) on a shader that's connected to the point cloud's Material node.

  6. Draw a render region and see that the particle's color attribute is now used for the particle's instanced geometry render color.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License