---
title: "V-Ray Stencil"
canonical: "https://documentation.chaos.com/space/VRAYHOUDINI/113280028/V-Ray%20Stencil"
format: markdown
---
This page contains information about the V-Ray Stencil Texture. Overview The TexStencil node is a utility used to create stencils or mask a user-specified color key. Parameters Default Color  – Represents the texture that is underneath. Key Color  – Specifies the color to be masked in the texture. Image (Stencil)  – Specifies the texture that acts as a stencil. Mask  – Specifies the transparency of the  Stencil . Key Masking  – When enabled, selects the areas in the texture similar 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.) Hue/Sat/Val Range  –Specifies the range of hue/saturation/values centered on the  Key Color  that is also masked. Edges Blend  – Controls the sharpness of the texture edges. Color Tweaks Default Color  – Specifies the color when there are no valid UVW coordinates. Mult  – Specifies a strength multiplier for the texture color. Offset  – Color corrects the texture by adding the the RGB color values specified here to the RGB color values in the texture. Invert  – When enabled, inverts the resulting texture color. Alpha Tweaks Source  – Specifies where the alpha channel is drawn from. Alpha  – Alpha channel is drawn from the texture. Color  – Alpha is generated from pixel intensity. Opaque  – Alpha channel is fully opaque. Use  – Differentiates between textures exported from different applications. You can choose between  Color Intensity (3ds Max)  and  Color Luminance (Maya) . Mult  – Specifies a multiplier for the texture alpha. Offset  – Specifies an additional offset for the texture alpha. Invert  – When enabled and  Invert  from  Color Tweaks  is also on, the resulting texture alpha is inverted as well.