Difference between revisions of "PRIM GLTF ALPHA MODE MASK"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "Category:glTF {{LSL Constant |name=PRIM_GLTF_ALPHA_MODE_BLEND |type=integer |value=1 |desc=Alpha masked rendering mode for GLTF materials, used with P...")
 
(This constant's value is 2, not 1.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:glTF]]
[[Category:glTF]]
{{LSL Constant
{{LSL Constant
|name=PRIM_GLTF_ALPHA_MODE_BLEND
|name=PRIM_GLTF_ALPHA_MODE_MASK
|type=integer
|type=integer
|value=1
|value=2
|desc=Alpha masked rendering mode for [[GLTF Overrides|GLTF]] materials, used with [[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.
|desc=Alpha masked rendering mode for [[GLTF Overrides|GLTF]] materials, used with [[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.
|examples
|examples

Latest revision as of 03:49, 21 August 2024

Description

Constant: integer PRIM_GLTF_ALPHA_MODE_MASK = 2;

The integer constant PRIM_GLTF_ALPHA_MODE_MASK has the value 2

Alpha masked rendering mode for GLTF materials, used with 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.

Caveats


Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_GLTF_ALPHA_MODE_MASK = 2;