Jump to content

adding multiple transparency layers


Recommended Posts

I used to have this answer saved somewhere, but I can't find it.

 

If I'm doing multiple layers.  I recall a way to ensure their transparency affects added to an original opacity level.

 

For example.  The underlying (bottom most image) transparency is set to 255

and the next one is set to a fraction of the prior level (it's not 50%... I think it's something like the last value / 1.6), so the next would be 160?

 

Something like that.

 

Basically.  If I have two images, and one I apply a mild affect to (say a blur) and I want to layer this over the original image (which is set 255).  There is a specific fraction of the prior opacity I set the new one to to ensure I can keep adding these affects together smoothly ad infitum (limited only by integer division).

 

 

Link to comment
Share on other sites

Hello @thistleknot and welcome to the forum :)

 

Perhaps this is the 'tip' you are referring to:   "But all have different transparency settings, add a new layer underneath all of them and merge them with the new layer, starting from the bottom layer."

30b8T8B.gif

How I made Jennifer & Halle in Paint.net

My Gallery | My Deviant Art

"Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.

 
Link to comment
Share on other sites

3 hours ago, thistleknot said:

If I have two images, and one I apply a mild affect to (say a blur) and I want to layer this over the original image (which is set 255).  There is a specific fraction of the prior opacity I set the new one to to ensure I can keep adding these affects together smoothly ad infitum (limited only by integer division).

It appears that you are seeking an emperical solution to an outcome that is mainly aesthetic.
If the bottom layer is set to 255 (zero opacity), then you should adjust your other layers opacity/transparency properties until it 'looks right'!
I deal with this countless times. I try to set things up using percentages of transparency only to find when I rearange layers things dont 'look right' and I have to make readjustments until they do. Your eyes are the best indicator for correctness in these situations.


 

Link to comment
Share on other sites

Do you mean you want to set the opacity of each layer so they all are given equal weight when blended? If so, each layer's opacity should divided by its distance from the bottom, starting at 1. (Luckily, I found a recent thread where this was discussed.)

 

So for five layers:

Top:   Opacity 51 = 255/5

Next: Opacity 64 = 255/4 (rounded)

Next: Opacity 85 = 255/3

Next: Opacity 128 = 255/2 (rounded)

Base: Opacity 255 = 255/1

 

(I'm not sure this is what you're after, since you specifically said the second layer opacity isn't 50%, which is what it is for the method I give.)

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.

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.

 Share

×
×
  • Create New...