Switch to full style
Ask all general Gimp related questions here
Post a reply

Dodge blending mode but with gradient fade?

Mon Dec 26, 2022 2:23 pm

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!

Re: Dodge blending mode but with gradient fade?

Mon Dec 26, 2022 9:51 pm

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

Re: Dodge blending mode but with gradient fade?

Mon Dec 26, 2022 9:56 pm

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

Re: Dodge blending mode but with gradient fade?

Mon Dec 26, 2022 11:14 pm

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!

Re: Dodge blending mode but with gradient fade?

Tue Dec 27, 2022 2:08 am

Would help if you posted the link to the tutorial

Re: Dodge blending mode but with gradient fade?

Tue Dec 27, 2022 11:30 am

Hello! :)

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

GIMP Version: 2.10.30
Operating System: Linux

Re: Dodge blending mode but with gradient fade?

Tue Dec 27, 2022 12:33 pm

What is 'legacy' mode? I'm running 2.8 still, maybe that version doesn't have it?

Re: Dodge blending mode but with gradient fade?

Tue Dec 27, 2022 1:20 pm

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

Re: Dodge blending mode but with gradient fade?

Tue Dec 27, 2022 4:08 pm

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.

Re: Dodge blending mode but with gradient fade?

Tue Dec 27, 2022 9:34 pm

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

Re: Dodge blending mode but with gradient fade?

Wed Dec 28, 2022 3:28 am

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
Untitled.xcf
(1.25 MiB) Downloaded 15 times

Re: Dodge blending mode but with gradient fade?

Wed Dec 28, 2022 4:36 am

One of the circumstances for Blend Space.

blend01.jpg
blend01.jpg (90.64 KiB) Viewed 617 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.

modes03.jpg
modes03.jpg (15.99 KiB) Viewed 617 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.

Re: Dodge blending mode but with gradient fade?

Wed Dec 28, 2022 3:39 pm

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.
Post a reply