A mask controls the transparency of a Stencil texture and limits the area on a surface where the texture is visible. There are two types of masks: file masks and chroma key masks.