Scalar Matte

 
 
 

| Component Range | Render Tree Usage | HLSA Combine

Category: Processing > Color Channels

Shader Family: Texture

Output: Scalar

Combines the functionality of the Render Tree Usage and the Scalar Smooth Range.

Name

The shader's name. Enter any name you like, or leave the default.

Component

Lets you isolate a specific color model and channel from a color, texture, or shader.

Input

Defines the image, texture, or shader that will have a color picked from it.

Invert

Inverts the isolated channel.

Color Space

Determines which color model you will select a color from: RGBA, HLSA, or HSVA.

Channel

Selects the color channel. You can only select from this parameter if you're selecting from the RGBA color model.

Component Range

Lets you isolate a range of values within the isolated channel.

Range Enabled

Switches on the component range.

Inside Value

Specifies the scalar output value of input color values that fall within the component range.

Outside Value

Specifies the scalar output value of input color values that fall outside of the component range.

Minimum Delta

Input color values that fall between this value and the minimum threshold value are output as blend of the inside and outside values.

Minimum Threshold

The minimum value that the input color can have before being out of range.

Maximum Threshold

The maximum value that the input color can have before being out of range.

Maximum Delta

Input color values that fall between this value and the maximum threshold value are output as blend of the inside and outside values.

Render Tree Usage

Used to connect any image clip or material to the input and isolate a channel from any color model. Once the channel is isolated, a range of channel values can be defined. Inside_value and outside_value parameters determine how areas of the input are affected when they are inside and outside the range. The result is output to a scalar value, and can be used to drive any scalar input parameter (diffuse, transparency, etc.)