MaterialBlendingMode()

Syntax

MaterialBlendingMode(#Material, Mode)
Description
Changes the way the material will be blended with the scene (screen background).

Parameters

#Material The material to use.
Mode It can be one of the following value:
  #PB_Material_Add       : Performs a pixel 'Add' operation over the scene (black color is like transparent).
  #PB_Material_AlphaBlend: Uses the AlphaChannel layer of the texture (should be a TGA or PNG one) to blend it with the scene.
  #PB_Material_Color     : Uses the texture transparent color value when blending the material with the scene.

Return value

None.

Supported OS

All

<- MaterialAnimation() - Material Index - MaterialCullingMode() ->