Template:LSL Constants/GLTF Blend Modes
GLTF Alpha Mode | value | description |
---|---|---|
PRIM_GLTF_ALPHA_MODE_OPAQUE | 0 | Ignore the alpha value and render the material as opaque. |
PRIM_GLTF_ALPHA_MODE_BLEND | 1 | Render the material with transparency determined by the alpha value. Blending is done in linear color space. As is the case for Blinn-Phong as well, this mode suffers from depth sorting and performance issues. Use alpha mask instead when possible. |
PRIM_GLTF_ALPHA_MODE_MASK | 2 | Render the material as fully opaque where the alpha value is greater than the alpha cutoff, and otherwise render the material as fully transparent. |