Jump to content
You must now use your email address to sign in [click for more info] ×

Channel Packing including Alpha destroys RGB Channels


Recommended Posts

I have a problem packing maps in the four channels. I know the tutorial video for Channel Packing.  However, the alpha channel is not used in this tutorial. But I use exactly the technique shown there.

As soon as you use the alpha channel, the RGB channels are modified according to the information in the alpha channel. This is probably due to how Affinity Photo uses the alpha channel. This is not only used to give the transparency, but also to create a gradient.


I have added 3 images to show this better. The image "all_channels.jpg" shows the resulting image as you would normally save it as png or jpg. The image "only_alpha_channel.jpg" shows how Affinity Photo created the alpha channel. You can see the soft edges. The image "only_red_channel.jpg" shows the content of the red channel. Some edges are soft others are not. Where the colors red and green overlap a gradient is created from 1 to 0 (or 255 - 0 in 8Bit). However, where no color is adjacent, this gradient is created by the alpha channel and the color value remains at 1 (255 in 8Bit).

The problem now is that as soon as you put data into the alpha channel the RGB channels will be recalculated. This happens if you first fill the alpha channel and then the RGB channels or first the RGB channels and then the alpha channel.
If you now have a normal map and want to place the displacement map in the alpha channel, the normal map will be destroyed by the recalculation of the RGB channels based on the information in the alpha channel.

Is there a way to prevent this recalculation?

 

only_red_channel.jpg

all_channels.jpg

only_alpha_channel.jpg

Link to comment
Share on other sites

  • Staff

Hi dmorigin,

My channel packing knowledge is very limited but i believe this has come up before here.  Sadly the user didn't return with the final answer from our member of staff James who would know the answer to this.  I'll drop James an email and will post the reply here. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | 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.