Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.15 KB

colorpalette.md

File metadata and controls

30 lines (21 loc) · 1.15 KB

Colorpalette

Screenshot

The new Color Palette User Data Type can be added to any object or tag in Cinema 4D and read from XPresso or Python. The Color Palette behaves almost exactly like the Cinema 4D color swatches from the Color Picker UI, only that the User Data Type allows you to have many of these color palettes attached to various or a single object.

In the Attributes Manager Mode of the nr-toolbox, you can find the Swatches tab which gives you a document-wide, globally available Color Palette and the Synchronize Shaders checkbox.

Synchronize Shaders

When this option is enabled, which it is by default, Cinema 4D Color Shaders of which the name starts with swatch: will automatically be adjusted to match the color of the swatch in the global Color Palette given by the name that follows the swatch: string.

Screenshot

Swatch Shader

The nrSwatch shader is an alternative to use the Synchronize Shaders feature that allows you to select one of the swatches saved in the nr-toolbox global Color Palette.

Screenshot