Jump to content
Sign in to follow this  
Gunny

Request: Load Targa files as two layers

Recommended Posts

I'm afraid I lost track of all the Targa threads so here's another one... ;)

It's nice to see some Targa support but I think Targa is mostly used as a low level format so people who use it require complete control of the data - both RGB and alpha. That's why I think Targa file should be loaded as two separate layers - an RGB layer with transparency set to 255 and a mask layer with alpha. (Maybe it could be optional.) This way you could easily see the RGB values of invisible pixels with alpha set to 0.

targa-layout.png.317b8935a04b2462cf9f26a6bce82637.png

The same logic applies to export too - RGB should include the untouched colour values of the masked layer. If it already includes an alpha channel the alpha should be transferred to Mask channel (i.e. multiplied) and the RGB values should be kept untouched (or maybe somewhat normalized).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.