Inverse of maskimage
Blitz3D Forums/Blitz3D Programming/Inverse of maskimage
| ||
Is it possible to find the mask colour of a loaded PNG out as I need to do some odd stuff with my PNGS after loading and it relies on knowing the mask colour. Ta' |
| ||
If they're textures, you could probably read pixels from the texture until you found one with alpha 0, and the color of that pixel is your mask color. |
| ||
Mask color in 3D is always black (0,0,0)? Or do you mean alpha? or 2D mask color? There isn't any way to find the 2D mask color (apart from using a DLL). |