For this example, the white background of the label must be transparent to allow the underlying surface color to show through. The only portion of the texture map that will show in the final rendered image is the lettering. Creating such a transparency mask can be accomplished in either of two ways:
Such a file can easily be created with Alias StudioPaint, keeping in mind that black areas will be opaque and white areas will be transparent. Although color image files can be used (for example, you can use the same color file for both the label map and the mask), the degree of transparency throughout the range of colors in the map will vary. This technique may be used for special effect purposes.
If the image file you are using has four channels (RGBA), then the same image file should be specified for both the image and mask files. The RGB information will be used for the image portion of the stencil and the A (alpha) will be used for the mask portion of the stencil.

New Shader from the Multi-lister to create a new shader.
Assign Shader to assign the shader to the active surface.

When you select the Stencil texture, the Texture Procedures window automatically closes, a texture icon is displayed in the Multi-Lister and the Stencil editor is displayed.


As shown in the following, the texture icon no longer displays the white background area of the texture map. The white area of the Mask file (being transparent) allows the original shader color to show through.


For instance, the Rgbmult value for the mask texture controls the overall transparency of the Stencil texture (set in the Color Balance section of the editor. See Common Surface Texture Parameters for details)). The Bluroffset on the mask texture can be used to control the softness of the mask (small values around.01 are most useful).
Using Qk Render to Preview
With the texture map label and transparency mask in place, you can preview the result using Render
Quick render. To stop the Quick Render before it is complete, press the Esc key. Tip: It is recommended that you open the associated Quick Render option box (Render
Quick render-
) and increase the Shading Frequency value to better visualize the texture map placement and effect of the transparency mask. The Shading Frequency option accepts a value in the range of 0 through 10. The higher the value, the slower the quick rendering will be, but you will see considerably more detail in the quick rendered image as the frequency value is increased. If a value of 10 is required, it may be faster to do a full render of the object.
When creating a mask file from a color map, the areas and degree of transparency are not clearly defined. Chroma keying enables you to define a color range (chroma) to be used for transparent areas of the mask as described in the following.


This same technique can be used to grab any color from a texture map image and make it transparent. Once a color has been selected, the grab button is automatically toggled OFF and you have to re-select it for each subsequent color grab.
You can make a range of colors transparent by carefully modifying the Hue Range (hue), Sat Range (saturation), Val Range (value) and Threshold sliders, which are all components of the HSV Color Key parameter set. The Positive Key parameter enables you to invert the mask, which means showing only the colors specified through the Color Key and HSV range.