Pivoting the camera ?

Blitz3D Forums/Blitz3D Programming/Pivoting the camera ?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Masking textures is done in a variety of ways, for different effects. For a shadow you probably want to set the entity to "multiply" blend mode; in multiply blending white becomes transparent so make sure your shadow texture is on a white background. Other ways to mask textures include using the "masked" flag when loading the texture (duh; that just means black pixels become transparent,) alpha transparency (where a separate greyscale image determines transparency values,) and add blend mode (in which black becomes transparent and other values brighten accordingly.)