New

Alpha Channels

Texturing

PS Specific

Tutorials for Photoshop,
Paint Shop Pro, Blender, and More!

lynda.com

Alpha Channel Discovery

Alphas? What are those?

After trying to teach people about Alpha Channels for several years, I've decided that the biggest source of error and confusion is not understanding what an Alpha Channel, or even a Channel, actually is. Too many people think they are some kind of layer, when the Alpha Channel is an entirely separate thing.

So, here's the tutorial I made about Alpha Channel Discovery. This will change, as the site update gets farther along; but if you bookmark this page, the link will stay good.

The screen shots in this tutorial are from Photoshop CS3 Extended; but the directions will work in all versions of Photoshop, and the concepts are the same, no matter what graphics application you're using. If you are using Photoshop Elements, you won't be able to follow this, I'm afraid. Adobe chose to hide the Channels in PSE, and you can't do any of this without visible channels. You can still grasp the concepts if you just follow along though. (It'll be easier when I get the movie done, but I'm not sure when that will be.)

Hopefully, after going through this tutorial, you'll understand what a Channel is, and, I think, all the stuff about Alpha Channels which has seemed so esoteric will suddenly be crystal clear.

It's important that you read all the words; don't just look at the pictures. Some of the concepts here won't be found in the pictures alone, and you'll miss a lot if you don't read it, too.

So, with out further ado, let's begin.


First, let's look at what an Alpha Channel isn't. It's not this. This is Layer Transparency. You can use it to make an Alpha, but it's not one by itself, and it won't translate to one in SL.

The checkerboard you see behind the image on a transparent layer is Layer Transparency


It isn't this. This is a Layer Mask. It drives transparency on the layer that it's attached to, and that's all it does. It doesn't affect Second Life at all.

The black and white thumbnail next to the colored thumbnail on a Layer is a Layer Mask


It's also not this. This is a Vector Mask, also applied to a Layer. You might never have seen one of these, because they are kind of advanced; and that's okay. But just in case you accidentally made one, it's not an Alpha Channel.

The blank white thumbnail that can appear to the right of the Layer Mask, if you click the Make Mask button a second time, is a Vector Mask


An Alpha Channel is a Channel, and that means that you will never find it anywhere in the Layers Palette. You will only see it if you look in the Channels Palette.

In the Default layout, the Channels palette is tucked under the Layers Palette.

Find it, and open it now.

This is the Channels Palette

For a new document, you'll see a color thumbnail at the top, named "RGB", and three grayscale thumbnails below that, called "Red," "Green" and "Blue" respectively. (If your thumbnails aren't grayscale, you need to go to Preferences > Interface and uncheck "Show Channels in Color." They need to be grayscale for these lessons.)

The RGB slot isn't really a channel itself; it's a composite of the Red, Green, and Blue channels below it.


"But," you may ask, "what's the difference between this and the Layers Palette? They look a lot alike."

Yes, they do. But the difference is that the Layers Palette allows you to put multicolored pixels on transparent layers, and build up your image as if you were painting on sheets of clear plastic laid one on top of the other.

The Channels, on the other hand, are grayscale representations of the amount of - something - that is in each pixel of your image. If you're familiar with traditional printing, you can think of them as being like the color plates that determine how much ink is applied to the paper.

The first three channels are the three primary colors of light; Red, Green and Blue. For these channels, that - something - is the amount of that primary color that's applied to each pixel. (If you're used to working with pigments, you might think of the primary colors as Cyan, Magenta, and Yellow. But on the computer screen, we are, literally, painting with light. So we use the primary colors of light.)

In a normal, 8-bit RGB image, that grayscale ranges from 0 to 255, giving you 256 possible intensities of each primary color of light for each pixel in your image.

Let's play around with that a little, so you can really understand it.


In Photoshop, open a New image. It doesn't need to be very large. I've made mine 256x256 pixels, but you can make yours whatever size you like.

Go to the Window palette, to Arrange, and choose "New Window for (your image name, probably Untitled 1)" to open two windows, so you can see what's happening while you play.

Go to Window > Arrange > New Window so you'll have two views of the same image


Move the new window out to the side, so you can see them both at once.

Put the Windows side by side


Tap D on your keyboard, to change the Color Swatches to the default, pure white and black.

The Color Swatches are at the bottom of your Toolbar


Click on the window to the left, and fill it with solid Black. (We need to fill the window before we do anything, because you can't create pixels in a Channel; all you can do is change the value of pixels that are already there. You can't paint in the channel where you see the checkerboard.)

You'll notice that both windows fill at the same time. We are, after all, looking at two views of the same image, and at the moment, those views are identical.

But we're about to change that.

Fill the right hand window with Black, and they both become solid black


Click on the window on the right, go to the Channels Palette, and click right on the word "Red", in the Red channel. You'll notice that the other channels no longer have eyeballs next to them, and are no longer Selected (no blue highlight.) We are now looking at just the Red channel in the window on the right, and at all the channels in the window on the left.

Click the word Red to Select that channel, and hide the others.


Click X, to swap the Foreground and Background colors, so you'll be painting in white, and grab the brush tool.

Now, draw a squiggle in the window on the Right. Don't be afraid; this is just an experimental piece, and you can't do it "wrong." Squiggle any kind of mark you want. As soon as you lift the brush, and the other window refreshes, you'll see your mark. But it's Red!

When you draw a white squiggle on the Right Window, it shows up red in the Left Window! A value of 255 (white) on the red channel means you are adding R:255 to the image

When you paint with white, on this channel, you're really painting with Red:255. If you check in a color picker, you'll find that pure red is Red:255, Green:0, Blue:0. There is nothing in the other two channels, so what you see is pure red. (Run your mouse over the images, to see the values.)

Click here to go to the next page, and we'll explore this farther.