It is currently Mon Jul 01, 2024 10:45 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Dodge blending mode but with gradient fade?
PostPosted: Mon Dec 26, 2022 2:23 pm  (#1) 
Offline
GimpChat Member

Joined: May 15, 2021
Posts: 30
GIMP Version: 2.10.24
Operating System: Windows
GIMP Experience: Intermediate Level



I really love the effect setting a layer to dodge can have, but I'm having trouble getting the look I want for some projects. If I dodge something with a solid fill, no problem. If I want to dodge something with any kind of transparency, it doesn't work like I want. Dodge seems to be 100% or 0%, with nothing in between. But I've seen PS tuts do dodge on a gradient transparency. [I even tried dodging a selection and applying a layer mask with a gradient for transparency, but it still gives a hard line between full color and no color.]

Is there a way around this? Maybe a custom plug in or script? I have G'MIC installed and found the "dodge and burn" there, but it's not for this. Thanks!


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Mon Dec 26, 2022 9:51 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 789
Location: SEA - South East Asia
Dodge layer mode works as intended with transparency as well, no hard edges...
Screenshot Image

A question does your bottom layer has an alpha channel?
If you could post a screenshot with the layer's stack/dialog included, this would help us to find out what you're doing wrong.
Maybe you can upload an example ".xcf" (2 layers only should be enough) for us to test it, may be also link your photoshop tuto.

Last but not least, your GIMP Version is 2.10.24, may be upgrade it? the latest is 2.10.32, although I don't think it's a bug

_________________
Patrice


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Mon Dec 26, 2022 9:56 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7744
Location: On the other side of this screen
Are you applying your mask before changing the layer mode? And I assume you know you need two layers for the layer mode to work

_________________


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Mon Dec 26, 2022 11:14 pm  (#4) 
Offline
GimpChat Member

Joined: May 15, 2021
Posts: 30
Pixlab:

The bottom layer does have an alpha channel.

I made a simplified example. Here's the layer stack:
Image

Here's a top layer set to normal so you can see the blurred edges with partial transparency:

Image

And here's that same layer set to dodge. There's no longer any transparency in the object's boundary--it's just a solid shape.

Image

If I try to erase along the edge with a soft brush set to any opacity under 50%, it does not erase. If I erase with a brush set over 50% but under 100%, it erases 100%. Similarly, layer masking does not work as usual.

Last time I updated from .24 to .28, some of my legacy plugins I love stopped working, so I'm sticking with this version for now.


Sallyanne. I have two layers, and it doesn't seem to matter whether I apply the layer mask before or after changing the top layer's blending mode--as soon as it's dodge, it loses transparency.

Thanks!


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Tue Dec 27, 2022 2:08 am  (#5) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7744
Location: On the other side of this screen
Would help if you posted the link to the tutorial

_________________


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Tue Dec 27, 2022 11:30 am  (#6) 
Offline
GimpChat Member

Joined: Apr 19, 2021
Posts: 121
Location: France
Hello! :)

I have the same bug. If I choose 'legacy' dodge mode, the bug disappears.

GIMP Version: 2.10.30
Operating System: Linux

_________________
Photo to cartoon : https://github.com/cl4cnam/gimp_cartoon_plugin


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Tue Dec 27, 2022 12:33 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
What is 'legacy' mode? I'm running 2.8 still, maybe that version doesn't have it?

_________________
Image


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Tue Dec 27, 2022 1:20 pm  (#8) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2436
You can get that effect when using a Gimp 2.8 .xcf file or maybe created an effect in Gimp 2.10 using an old script.

As a fix, one way is as cli345 explained and set the layer mode to legacy values. A better way for Gimp 2.10 is keep the layer default mode, and set the Blend Space to linear - right click in the layer, top of the menu.

30 second example: https://i.imgur.com/Nx6NTwZ.mp4

_________________
Image


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Tue Dec 27, 2022 4:08 pm  (#9) 
Offline
GimpChat Member

Joined: May 15, 2021
Posts: 30
Thank you so much, cli345!

Changing to legacy blending mode worked, and I would never have thought of it. I kept trying 32-bit floating point precision, thinking it might be an issue like gradient banding, but that didn't work either.

I have no idea why this is happening since these are new files created in Gimp 2.10 instead of 8, but as long as there's a fix, I'll take it!

rich2005, I tried leaving it default and changing the blend space, but it didn't help. Your video was very good, though. I'm not sure why it didn't "blur" the edges on mine like it did in yours.


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Tue Dec 27, 2022 9:34 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7744
Location: On the other side of this screen
The Warrior wrote:
What is 'legacy' mode? I'm running 2.8 still, maybe that version doesn't have it?

"Legacy" just means the older version of blend modes etcetera. The default now is 2.10 on... There is a little difference with some of the modes - I have not looked into it yet but you may if you choose to update to 2.10

_________________


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Wed Dec 28, 2022 3:28 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 789
Location: SEA - South East Asia
OK, I think we ALL are affected

Same image, same dodge layer, but different background
example 1
Image

Example 2
Image

here is the xcf if you want to try
Attachment:
Untitled.xcf [1.25 MiB]
Downloaded 15 times

_________________
Patrice


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Wed Dec 28, 2022 4:36 am  (#12) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2436
One of the circumstances for Blend Space.

Attachment:
blend01.jpg
blend01.jpg [ 90.64 KiB | Viewed 613 times ]


Going back to the difference between Gimp 2.10 and 2.8
Gimp 2.10 does calculations in linear mode. When the blend is in gamma then you get those boundary effects. Typically seen using the Smudge tool. Nasty border effect. Which is why legacy modes are best avoided.

Attachment:
modes03.jpg
modes03.jpg [ 15.99 KiB | Viewed 613 times ]


...but as with most Gimp it is up to the user to decide.
Edit: My guess is OP is using an old plugin/script such as the StarScape script for the basic background which renders in legacy mode.

_________________
Image


Top
 Post subject: Re: Dodge blending mode but with gradient fade?
PostPosted: Wed Dec 28, 2022 3:39 pm  (#13) 
Offline
GimpChat Member

Joined: May 15, 2021
Posts: 30
Pixlab. I agree! The reason you don't notice it in your first example is because there's so much black in the bottom layer you're not seeing the hard edges of the dodge layer. Your second background has enough brightness that it shows.


Rich2005. Nope, sorry! The background is a stock background jpg, not something I created with an old script. But I had desat it and recolored it using a different dodge layer that I merged down, so maybe that did something to it.

I did try changing the blend space on another file that hadn't been manipulated, and it worked. So I'll keep your advice in mind and try your fix first.


Top
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) How does it works on Layer Blending Mode "Add" with Alpha Channel?

4

No new posts Attachment(s) Missing menu entry for 'Fade Retinex' in 2.10.18

4

No new posts Open images in RGB mode automatically

1

No new posts Script-fu skip run-mode parameter (solved)

6

No new posts Attachment(s) New GEGL Extrusion filter - USE THE BEHIND BLEND MODE!

18



* Login  



Powered by phpBB3 © phpBB Group