material .alpha .mode .set  (  MaterialObjectID ,  AlphaMode  )  
                                     
Description :

This instruction sets the alpha mode of a material.

Parameters :

  • ObjectID of the material.
  • MATERIAL_ALPHANONE : No blending is performed.
    MATERIAL_ALPHAADD : Additive blending is performed.
    MATERIAL_ALPHABLEND : Alpha blending is performed.
    MATERIAL_ALPHASUB : Subtract blending is performed.

Examples :