Gimptalk - Premier Gimp Community: How to use Layer Masks - Gimptalk - Premier Gimp Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to use Layer Masks Tutorial (basics)

#1 User is offline   Ben9190 

  • GT Moderator
  • Group: Moderators
  • Posts: 3,304
  • Joined: 14-September 07
  • LocationBehind you >)

Posted 26 December 2011 - 06:01 AM

So with this tutorial we will be covering the basics of layer masks. Layer masks are very useful when making tags, large art, or photo editing at all. They allow you to change the opacity at which parts of a certain layer are shown, not just the whole thing. Through this, I will cover how to effectively use a layer mask, and some of the bugs and pop ups you might need to be aware of when you use one :)

Layer masks can be created by going to the layer, paths, and patterns bar>right click the layer>Layer mask: You can view the layer mask by itself by going to layer, paths, and patterns bar>right click the layer>Show Layer Mask
Posted Image

Once clicked you will find a plethora of options, but the easiest and least confusing option is white, (meaning that all white in the layer mask is at 100% opacity):
Posted Image

Click Add
On the layers/ paths and patterns bar you should see this on the layer you selected to have the layer mask:
Posted Image

You can toggle between painting on you layer mask by clicking either the layer mask or the original layer to its right, depending on which one you need to adjust. The Image that is outlined in white is the selected item.
Posted Image | Posted Image

There is also a collation between the selected layer and the name at the bottom of the cavanas
Posted Image

Thus now the fun begins. Select the layer mask, then click on a grey-scale (black works best on the first try to really see the results). Now take the brush and paint on your selected layer mask and observe what happens. Note: I used the pine pattern under this .png so you can see the effect.
Posted Image

You can also add white to the image by taking a white brush into the layer mask (and remember the option we clicked up top said white was full opacity) NOTE: you can also select a layer mask then use the move tool to move it Posted Image, like any other layer (how neat!)

Posted Image

Once you grasp that concept you can begin to full around with the air brush, or different shades of black and grey and get effects, which can really help with selective lighting or certain effects:
Posted Image

On to errors, this error that you are about to see will only arise after you have used part of the layer mask, say brushing some grey of black on it, if the layer mask is still completely unedited at white 100% opacity you will not get this error when trying to paste something on top of it. If you try to paste a new layer over a layer that is a layer mask and has been marked, you will get this error.
Posted Image

This can simply be solved by creating a transparent layer above the layer mask, then paste your image, then delete the transparent empty layer.
Posted Image

Also when trying to save as a .png you will get a similar error, but just click OK, the image wont be harmed in any way, but just like your layers, the next time you open up that png you wont see the layer mask. This is why you save as an .xcf so you can go back and edit things like your layer mask or other layers within the sig. The effect in front of his face is what i layer masked away, I left a little to show you that it will save the image and the layer mask effect in front of his face.
Posted Image

Final:
Posted Image

But just like i said the error is a false threat and the sig turns out fine, but remember to always save as an .xcf just in case.


Happy Gimping :D
0

#2 User is offline   Wolverine 

  • Always forgive your enemies; nothing annoys them so much
  • Group: Moderators
  • Posts: 3,181
  • Joined: 14-July 08
  • LocationNB, Canada

Posted 28 December 2011 - 02:10 AM

This should probably be in official. Am I allowed to make that decision? ;)
0

#3 User is offline   Ben9190 

  • GT Moderator
  • Group: Moderators
  • Posts: 3,304
  • Joined: 14-September 07
  • LocationBehind you >)

Posted 28 December 2011 - 06:12 AM

yup :) i think its our job to move the user submitted tuts to official if they a credible and meet the criteria :) But i think our generation of mods needs to start looking for tuts to move to official, you know stuff with helpful info about the program or neat effects :) which im hoping to scan through soon to start moving some more sence it seems like its been awhile since anyone really has. And sense you agree... :P
0

#4 User is offline   ofnuts 

  • Moderator GT
  • Group: Moderators
  • Posts: 1,231
  • Joined: 17-October 10
  • LocationLooking over your shoulder :)

Posted 28 December 2011 - 10:04 AM

View PostBen9190, on 26 December 2011 - 06:01 AM, said:

You can toggle between painting on you layer mask by clicking either the layer mask or the original layer to its right, depending on which one you need to adjust. The Image that is outlined in white is the selected item.

Which one you are editing is also shown at the bottom of the image display:
Posted Image

View PostBen9190, on 26 December 2011 - 06:01 AM, said:

On to errors, if you try to paste a new layer over a layer that is a layer mask, you will get this error:

I cannot reproduce this error... cut and paste seems to work OK both ways for me.

View PostBen9190, on 26 December 2011 - 06:01 AM, said:

Also when trying to save as a png you will get a similar error, but just click OK, the image wont be harmed in any way,
Be careful... you will be saving the mask (it's actually a way to export a layer mask) and not the full image.
010011110110011001101110011101010111010001110011
0

#5 User is offline   Ben9190 

  • GT Moderator
  • Group: Moderators
  • Posts: 3,304
  • Joined: 14-September 07
  • LocationBehind you >)

Posted 28 December 2011 - 07:52 PM

View Postofnuts, on 28 December 2011 - 10:04 AM, said:


Which one you are editing is also shown at the bottom of the image display:
Posted Image


Oh thanks! I'll make sure to include that in the top, I've never noticed this before! :D

View Postofnuts, on 28 December 2011 - 10:04 AM, said:

I cannot reproduce this error... cut and paste seems to work OK both ways for me.


This error will only arise after you have used part of the layer mask, say brushing some grey of black on it, if the layer mask is still completely unedited at white 100% opacity you will not get this error when trying to paste something on top of it :)

View Postofnuts, on 28 December 2011 - 10:04 AM, said:

Be careful... you will be saving the mask (it's actually a way to export a layer mask) and not the full image.


That's what the error will say but if you actually go ahead and save it you will see otherwise :)


Thanks for all the good questions/ concerns ill be sure to tweak the top a little :)
0

#6 User is offline   ofnuts 

  • Moderator GT
  • Group: Moderators
  • Posts: 1,231
  • Joined: 17-October 10
  • LocationLooking over your shoulder :)

Posted 28 December 2011 - 09:28 PM

View PostBen9190, on 28 December 2011 - 07:52 PM, said:

View Postofnuts, on 28 December 2011 - 10:04 AM, said:

I cannot reproduce this error... cut and paste seems to work OK both ways for me.


This error will only arise after you have used part of the layer mask, say brushing some grey of black on it, if the layer mask is still completely unedited at white 100% opacity you will not get this error when trying to paste something on top of it :)
Nope, I still can paste even after editing the mask.

View PostBen9190, on 28 December 2011 - 07:52 PM, said:

View Postofnuts, on 28 December 2011 - 10:04 AM, said:

Be careful... you will be saving the mask (it's actually a way to export a layer mask) and not the full image.


That's what the error will say but if you actually go ahead and save it you will see otherwise :)
Right... was mistaking with what happens when you are working on a channel and use "save".
010011110110011001101110011101010111010001110011
0

#7 User is offline   Ben9190 

  • GT Moderator
  • Group: Moderators
  • Posts: 3,304
  • Joined: 14-September 07
  • LocationBehind you >)

Posted 29 December 2011 - 02:14 AM

View Postofnuts, on 28 December 2011 - 09:28 PM, said:

Nope, I still can paste even after editing the mask.


Interesting... but I guess that just means one less problem gimping forward then :)

View Postofnuts, on 28 December 2011 - 09:28 PM, said:

Right... was mistaking with what happens when you are working on a channel and use "save".


Ah, ok :D
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic