Making a sprite black

Blitz3D Forums/Blitz3D Programming/Making a sprite black

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The default blend mode for sprites is "add." In add blend mode colors can only lighten, so black becomes invisible. Use EntityBlend to set your sprite to some other blend mode (the normal non-blending mode is 1, but for shadows you often want "multiply" blend mode to make the white background transparent.)