Add Colour: Difference between revisions
No edit summary |
Updated descriptions and added example images. |
||
| Line 1: | Line 1: | ||
[[ | [[File:AddColour_00_GUI.png|none|470px|Add Colour]] | ||
__TOC__ | |||
== Overview == | |||
Input | The Add family of nodes allow you to add the colour/scalar/vector coming into the Main Input by the color/scalar/vector coming into Input 2. The addition is component-wise, for example with colour: | ||
Main Input.red + Input 2.red <br /n> | |||
All nodes in this family have just | Main Input.green + Input 2.green <br /n> | ||
Main Input.blue + Input 2.blue | |||
All nodes in this family have just one setting, which lets you assign a shader or function nodes to Input 2. | |||
'''Settings:''' | |||
*'''Name:''' This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Add Colour nodes in a project. | |||
*'''Enable:''' When checked, the node is active and the Main Input value is added with the Input 2 value. When unchecked, only the Main Input value is passed through the node. | |||
*'''Input 2:''' The values from the shader or function nodes assigned to this setting are added to the values of the Main Input. | |||
== Fun with Add Colour == | |||
Remember that each of the colour component values, the red, green, and blue channel values, from the Main Input and the Input 2 settings are added together to achieve the final result. | |||
<ul> | |||
{| | |||
|- | |||
| [[File:AddColour_04_AddColour.jpg|none|800px|In this example, Main Input's colour values are red and the Input 2's colour values are green. When added together via the Add Colour node they make yellow.]] | |||
|- | |||
| [[File:AddColour_05_AddColourPF3.jpg|none|800px|In this example, a Power Fractal shader assigned to Input 2 provides green values and black values. When added together via the Add Colour node, the green values become shades of yellow while the black values let the red values from the Main Input pass through.]] | |||
|} | |||
</ul> | |||
It’s possible for the component values to exceed the visual range of colours from pure black (0,0,0) to pure white (1,1,1), although this is not recommended, and in some shaders such as the Power Fractal v3 shader, parameters exist to clamp the colour component values at black or white. | |||
In the example below, colours of the terrain appear unnaturally dark, almost burnt, when their colour component values are below 0,0,0. When component values exceed pure white, this can lead to clipping or unnatural shades of colour, such as the magenta areas in the image below. | |||
<ul> | |||
[[File:AddColour_06_AddColourExceed.jpg|none|800px|When the evaluated component values (RGB) exceed the 0 to 1 range, the resulting colours can appear clipped or burnt in. ]] | |||
</ul> | |||
<br /n> | |||
[[Category: Add]] | [[Category: Add]] | ||
Revision as of 03:56, 29 December 2021

Overview
The Add family of nodes allow you to add the colour/scalar/vector coming into the Main Input by the color/scalar/vector coming into Input 2. The addition is component-wise, for example with colour:
Main Input.red + Input 2.red
Main Input.green + Input 2.green
Main Input.blue + Input 2.blue
All nodes in this family have just one setting, which lets you assign a shader or function nodes to Input 2.
Settings:
- Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Add Colour nodes in a project.
- Enable: When checked, the node is active and the Main Input value is added with the Input 2 value. When unchecked, only the Main Input value is passed through the node.
- Input 2: The values from the shader or function nodes assigned to this setting are added to the values of the Main Input.
Fun with Add Colour
Remember that each of the colour component values, the red, green, and blue channel values, from the Main Input and the Input 2 settings are added together to achieve the final result.
It’s possible for the component values to exceed the visual range of colours from pure black (0,0,0) to pure white (1,1,1), although this is not recommended, and in some shaders such as the Power Fractal v3 shader, parameters exist to clamp the colour component values at black or white.
In the example below, colours of the terrain appear unnaturally dark, almost burnt, when their colour component values are below 0,0,0. When component values exceed pure white, this can lead to clipping or unnatural shades of colour, such as the magenta areas in the image below.


