Added loading of a TGA mask image to generate alpha canal
This commit is contained in:
parent
ad71110cdb
commit
82f359b656
5 changed files with 48 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue