Hi Brian,
I understand the confusion. Layer masks are confusing at first. But like anything once you get the hang of it it’s a piece of cake. So no worries! I’ll try to take a shot here and see if I can help make things clear as mud!
Please note that I don’t use Gimp, but I’ve had a cursory look around and masks seem very similar in Photoshop. I think the issue may get even more confused getting advice about using gradient masks, shaped masks, etc. when one is first trying to get a handle on all this. I apologize in advance if I am about to oversimplify but if you are already to this point, maybe someone else isn’t.
Let’s break it down!
So you have your shot where you want it except you want to darken the right and left side. You have merged all layers except the base layer. So you should have two layers in your layer stack.
First, if you wanted to keep all those layers rather than merge to only one there is a nifty command that makes that happen. It is called “stamp visible”. Highlight (click) the top layer in the stack and then find how to “stamp visible” in Gimp (I googled it and know it can be done). What this does is
merge all layers into a new layer on top of the stack. A new base layer on top. Since it is a new merged layer the other layers below it will not have any effect on the picture now. You are working with a new merged layer. The advantage is that you can always get back to your other layers if need be. The disadvantage is it increases the file size. But when you are completely done you can always go back and delete any layers you want to lessen the file size.
But since you didn’t do that we’ll go from where you are with the hidden BG layer and the merged layer on top of it.
Remember I’m in Photoshop but you should have something similar showing for your layer stack.
Duplicate the visible merged layer and rename it DarkBG or similar…
Now it is my understanding that Gimp has no “adjustment layers” and I could very well be wrong about that. So you need to use the levels tool on the duplicate layer to make the layer darker. It should make the entire layer darker but no worries. Just adjust it darker until you like the look of the areas you want darker. Don’t worry about the insect, or anything but the areas you want to adjust. This is a before and after and you should have something like the "after". An overall darker image…
Now here is where the mask comes in. Add a white mask to the “DarkBG layer and make sure the mask thumbnail is selected (highlighted)…
Choose your brush tool and set it for a soft and rather largish brush.
http://docs.gimp.org/2.2/en/gimp-tools-paint.html
Set the opacity level of the brush low. I used something below 50%, then use the brush tool to start “painting” (click/hold- move the mouse) over and around the spider. You should see the area you are brushing start to lighten up. You can paint over it with repeated passes to gradually build it to where you want it and lighten as much area of the scene as you want.
Now, white reveals, black conceals.
Pure white in the mask allows the corresponding pixels on the layer to be completely visible in the image. In other words the darkened layer (DarkBG) with the white mask is visible. You took the black brush and “brushed away” the white mask and in so doing made the layer under it (lighter layer) visible where you “brushed away”.
Before and After masking/brushing...
Brian, at this point you can also adjust the opacity of the layer itself (DarkBG) to control the amount of dark/light. If you have "brushed away" to the equivalent of 100%, where that area is will not be affected by a layer opacity adjustment. Don’t be afraid to experiment. Maybe varying the brush size, opacity of the brush, etc. Go wild!
I hope this helps Brian. I’ll tell you what. I’ll stop here and you see what you think. If you already know this, then cool. If not and it helps maybe we’ll go some more and maybe look at black masks to accomplish the same thing.
Let rip any questions, comments, disparaging remarks, whatever urge strikes!