# PRIM_GLTF_ALPHA_MODE_MASK

*LSL constant*

```lsl
integer PRIM_GLTF_ALPHA_MODE_MASK = 2;
```

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

Alpha masked rendering mode for [GLTF](https://wiki.secondlife.com/wiki/GLTF_Overrides) materials, used with [PRIM_GLTF_BASE_COLOR](/constants/PRIM_GLTF_BASE_COLOR/). Transparency from the texture is compared to the material's alpha cutoff, with pixels above the cutoff fully opaque and pixels below it fully transparent.

## See also

### Functions

- [llSetLinkPrimitiveParamsFast](/functions/llSetLinkPrimitiveParamsFast/)
- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)

---

*Source: [PRIM GLTF ALPHA MODE MASK](https://wiki.secondlife.com/wiki/PRIM_GLTF_ALPHA_MODE_MASK) on the Second Life Wiki. Content from the Second Life Wiki article PRIM GLTF ALPHA MODE MASK (revision 1219005, 2026-08-24), CC BY-SA 3.0.*

---

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