PRIM GLTF ALPHA MODE MASK: Difference between revisions
Jump to navigation
Jump to search
Frionil Fang (talk | contribs) 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= | |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 04: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