Color is a category of nodes outputting color values.
Outputs a single color value.
Brightness and saturation triangle. The three corners represent white, black, and a fully saturated color. The selected value is indicated with a circle 6 You can click or click and drag anywhere on the triangle to select a color.
RGB Mode. This will set the sliders to represent the color in Red, Green, and Blue values. All mapped from 0 to 255.
HSV Mode. This will set the sliders to represent the color in Hue, Saturation, and Value. Hue is mapped circular from 0 to 360 degrees starting and ending with red, using this slider you can see the circle in the Hue ring turning. Saturation and Value are mapped from 0% to 100% ,saturation from grayscale to fully saturated and value from black to whatever is the brightest color based on the hue and saturation.
Channel Sliders. These sliders can be used to change the color. The gradients on the sliders represent what the selected color would be if the indicator 14 was placed on that position. You can click or click and drag anywhere on the slider to select a color.
Recent Colors Holds a palette of the last 9 colors used. When the color picker is closed, the selected color will be stored as the most recent color all the way to the right in the Recent Colors palette moving all the other colors one spot to the left and discarting the first one on the left.
Interpolation Color Space: A dropdown menu with different methods of interpolating color from one point in the color gradient to another.
- Color Gradient Presets
Load This will open a file browser where you can look for a .embercg file to load in as your gradient.
Save This will open a file browser where you can store the current gradient as a .embercg file in a desired location.
Note that the Interpolation Color Space is also saved in the preset
Outputs a single color from a Color Gradient node based on a specified position on the gradient.
Connecting Color Nodes#
Color nodes can be connected to color parameters.
The color of this parameter will then be controlled in the color node.
A color parameter is recognized by the colored square next to it.
The following parameters can be controlled by color nodes:
As you can see the Smoke color and the Fire color are different. They have two colored squares next to them and a dropdown menu above.
Exposing the color parameter pin for these parameters works differently since it’s done by setting the dropdown menu above to Exposed Color Gradient.
These parameters should be connected to a Color Gradient node.
The right side of the gradient represents the highest values for the smoke or fire and the left side the lowest values.
You can adjust the range in which the values are mapped to the gradient using the Coloring remap range parameter in the shading node. The histogram above it shows in what range the voxel densities live. To get a good mapping you usually start by fitting the range (black area) around the white bars by adjusting the max value.
You can change the interpolation of the range with a gamma operation using the Coloring remap ramp parameter. Lower values will push the color more towards the right side of the inputted color gradient, and higher values will push the color more towards the left side of the color gradient.