3D Lingo Dictionary > T-Z > transparent |  |

transparent

Syntax

    member(whichCastmember).shader(whichShader).transparent
    member(whichCastmember).model(whichModel).shader.transparent
    member(whichCastmember).model(whichModel).shaderList[shaderListIndex].transparent

Description

3D standard shader property; lets you get or set whether a model is blended using alpha values`` (`TRUE`) or is rendered as opaque (`FALSE`). The default value for this property is `TRUE` (alpha-blended).

The functionality of`shader.blend` is dependent upon this property.

All shaders have access to the`#standard` shader properties; in addition to these standard shader properties shaders of the types`#engraver`, `#newsprint`, and `#painter` have properties unique to their type. See the `newShader` for more information.

Example

This statement causes the model Pluto to be rendered opaque. The setting of the blend property for the model's shader will have no effect.

    member("scene").model("Pluto").shader.transparent = FALSE

See also

`blendFactor`, `blend`