Instance Property

blendMode

The mode that determines how pixel colors rendered using this material blend with other pixel colors in the rendering target.

Declaration

@property(nonatomic) SCNBlendMode blendMode;

Discussion

With the default blend mode of SCNBlendModeAlpha, materials blend according to their alpha (opacity) values—a pixel rendered with a higher alpha value appears more opaque than one with a lower alpha value. Change this property to create special effects. For example, the SCNBlendModeAdd mode can make objects appear to glow.

See Also

Managing Opacity and Blending

transparency

The uniform transparency of the material. Animatable.

transparencyMode

The mode SceneKit uses to calculate transparency for the material.

SCNTransparencyMode

The modes SceneKit uses to calculate the opacity of pixels rendered with a material, used by the transparencyMode property.

SCNBlendMode

Modes that describe how SceneKit blends source colors rendered using a material with destination colors already in a rendering target, used by the blendMode property.