Difference between revisions of "PRIM GLTF ALPHA MODE MASK"
Jump to navigation
Jump to search
Frionil Fang (talk | contribs) m |
(This constant's value is 2, not 1.) |
||
Line 3: | Line 3: | ||
|name=PRIM_GLTF_ALPHA_MODE_MASK | |name=PRIM_GLTF_ALPHA_MODE_MASK | ||
|type=integer | |type=integer | ||
|value= | |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
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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