Skip to content

EntityBlend

Narta Xaymar Dirks edited this page Oct 29, 2026 · 6 revisions
Blitz3D

EntityBlend

EntityBlend:Void entity:Int32, blend:Int32
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
blend In Int32 required 1 for alpha, 2 for multiply, 3 for add.

Description

Chooses how the entity's pixels are mixed with what is already on screen.

  • 1, alpha is the normal mode: the entity covers what is behind it according to its alpha.
  • 2, multiply darkens what is behind it, which suits shadows and light maps. White changes nothing and black makes it black.
  • 3, add adds the color to what is behind it, which suits fire, lasers and glows.

Related Commands

EntityAlpha, EntityAutoFade, EntityClass, EntityColor, EntityDepthFade 〔BlitzLLVM〕, EntityDistance, EntityFX, EntityInView

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally