# PRIM_ALPHA_MODE_MASK

*LSL constant*

```lsl
integer PRIM_ALPHA_MODE_MASK = 2;
```

Constant groups: [AlphaMode](/constants/groups/AlphaMode/)

Used with [PRIM_ALPHA_MODE](/constants/PRIM_ALPHA_MODE/). Prims faces set to this type render as either completely opaque or completely transparent on a per-pixel basis. Pixels which are less opaque than the specified `mask_cutoff` are rendered as completely transparent, and the rest are rendered as fully opaque.

---

*Source: [PRIM ALPHA MODE MASK](https://wiki.secondlife.com/wiki/PRIM_ALPHA_MODE_MASK) on the Second Life Wiki. Content from the Second Life Wiki article PRIM ALPHA MODE MASK (revision 1191452, 2014-06-20), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/PRIM_ALPHA_MODE_MASK/
