Graphics Programs Reference
In-Depth Information
Now that the mask for the blue cube is available, this blue cube can be converted to
a pale and bright colored cube, with the flow explained in following screenshot:
Similar to Object Index, Material Index can also be used with the ID Mask node. Ma-
terial Index is available in the Material option.
Edge filtering
Sometimes, the edges of the alpha need to be expanded or blurred to obtain a spe-
cific effect or to soften the aliased edges. This effect can be achieved using the Blur
and ColorRamp nodes in cohesion.
To blur the mask generated for the blue cube, it has to be connected to a Blur node
and the Blur node has to be connected to the ColorRamp node, as shown in the
following screenshot. Now, by increasing the X and Y values in the Blur node, the
mask area can be expanded or contracted. Using the black and white handles in the
ColorRamp node, the edge of the modified mask can be softened or sharpened.
This process of altering the mask boundary is termed as edge filtering .
Search WWH ::




Custom Search