Overlays use specific blend modes to achieve transparency.Hisamera wrote:I have a question. how do ovelays works, beacause i read up on internet that blitz3d don't accept alpha channels on images and doing it on entity is quite logical bypassing. But i don't quite understand them. Can someone explain please. Only this is making that my modding progress has stopped. Thanks in advance.
TextureBlend yourTexture,2 -> white = transparent
TextureBlend yourTexture,3 -> black = transparent
You also need to load textures with the alpha flag (LoadTexture("texture.jpg",1+2)) to enable transparency.