Table of Contents

This page provides information about the Stencil texture in V-Ray for Blender.

 

Overview


The TexStencil node is a utility used to create stencils or mask a user-specified color key.

 

UI Path


 

||Node Editor|| > Add > Textures > Stencil

 

Node


 

Stencil – Specifies the texture that will act as a stencil.

Mask – Specifies the transparency of the Stencil.

Color Key – Specifies the color to be masked in the texture.

Hue/Sat/Val Range – Specifies the range of hue/saturation/values centered on the Key Color that is also masked.

Default Color – Represents the texture that is underneath.

 

 


Parameters


 

Alpha From Intensity – Specifies where to take the alpha from.

Force 1.0 – Alpha is always 1.
Maya – Depends on the selected Compatibility option.
Self – The calculated alpha of the texture.

Compatibility – Allows you to match the result of the texture in Blender to that in either 3ds Max or Maya. If Alpha From is set to Maya: 

3ds Max – The resulting alpha of the texture is the intensity of the texture.
Maya – 
The resulting alpha of the texture is the color luminescence.

Edge Blend – Controls the sharpness of the texture edges.

Invert – When enabled inverts the colors in final result.

Invert Alpha –  Inverts the alpha channel if Invert is also enabled.

Key Masking – When enabled, selects the areas in the texture similar to or equal to the Key Color and masks them out.

Positive Key – When enabled, inverts the Chroma Key mask. (Only the colors specified in the Key Color and Hue/Sat/Val Range are displayed.)