Color

Sample Mode

Here you select how color values are to be determined for the cloned objects. If you only want to assign a uniform material to the clones, for example, you can ignore these settings. In any case, the color values determined here can also be read out via a Color User Data node. Simply click on the Presets... button and select MoGraph > Color from the context menu or enter the abbreviation RSMGColor directly under Attribute name. The color values of the distribution can then also be evaluated for other properties of the material.


Constant color distribution on the left, linear color distribution in the middle and random color distribution on the right.
  • Constant: All object copies receive the identical color value, which you can freely define via Color.
  • Linear: A color gradient is provided that is used in full from left to right. The color assignment follows the width of the original raster area in which the clones are placed before their projection.
  • Random: The colors of the color gradient are taken from a random position along the gradient for each object copy. These color values can be recalculated for each object copy by changing the Seed value.

Color

When using Sample Mode Constant, configure the desired color value for all clones here.

The other Sample Modes offer a color gradient, which is also available as a control element in many other areas of Cinema 4D.