Added loading of a TGA mask image to generate alpha canal

This commit is contained in:
trotFunky 2019-09-25 13:02:24 +02:00
parent ad71110cdb
commit 82f359b656
5 changed files with 48 additions and 7 deletions

View file

@ -26,7 +26,7 @@ public:
/// Load an RGB image from an RGB TGA file
bool load_rgb_tga(const std::string& rgb_filename);
/// Load an RGBA image from an rgb and an alpha tga file
/// Load an RGBA image from an rgb and an alpha (Greyscale) tga file
bool load_rgba_tga(const std::string& rgb_filename,const std::string& mask_filename);
private: