ColorToBrightnessNode

 

Introduced

7.0

UI Location

• Color

• Conversion

Description

Creates and outputs a new brightness value by converting the input color according to the specified red, green and blue weights. The weights are always normalized during the conversion.

Note: The specified input alpha component has no effect on the conversion. The resulting alpha component equals the alpha component of the specified input color.

Tip: For retrieving a color instead of a single value, use the ColorToGrayscaleNode node.

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

color

Type: siICENodeDataColor4

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The color to convert.

redweight

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The weight of the red component.

greenweight

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The weight of the green component.

blueweight

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The weight of the blue component.

Outputs

Port Name

Connection Info

Description

brightness

Type: siICENodeDataFloat

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The resulting brightness value.

alpha

Type: siICENodeDataFloat

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The alpha component of the input color.

Restrictions

• These structures must match: color, brightness, alpha

• These contexts must match: color, brightness, alpha

See Also

AddColorNode

BlendColorNode

ColorNode

ColorToGrayscaleNode

ColorToHLSANode

ColorToHSVANode

ColorToRGBANode

GradientNode

HLSAToColorNode

HSVAToColorNode

MultiplyColorByScalarNode

RGBAToColorNode

SubtractColorNode

 

 

 



Autodesk Softimage v7.5