Sub topic 3
Opacity, Fill, and blend modes at a glance
This chapter assumes you can create and select layers in the Layers panel, use the Move tool, and tell pixel layers from vector shapes.
Opacity, Fill, and blend modes
Opacity sets how transparent a layer looks. Fill sets the transparency of the layer's pixels but leaves layer effects fully visible. A blend mode controls how a layer's pixels mix with the layers beneath it. Multiply darkens the image, and Screen lightens it.
Grouping layers
Select several layers and press Ctrl+G (Cmd+G on macOS). Photoshop places them in a group, which you can collapse, hide, or move as one unit.
Nested groups and a tidy file structure
Groups can contain other groups. Name each group by its job, such as "Lighting" or "Retouch", so a large file stays easy to search.
Group blend modes and Pass Through
Each group has its own blend mode. The default, Pass Through, lets each layer inside the group blend directly with the layers beneath the group.
Linking layers to move them together
Select two or more layers, then click the link icon at the bottom of the Layers panel. Linked layers move together when you drag them with the Move tool.
Clipping a layer to the one below
Hold Alt (Option on macOS) and click the line between two layers. The upper layer then shows only where the layer below has pixels. Its opacity still applies.
Merging, stamping, and flattening safely
Merge Layers combines the selected layers into one and removes the originals. Stamp Visible copies the visible layers into a new layer and keeps the originals. Flatten Image combines every layer into one background and deletes hidden layers. Use Stamp Visible when you need an editable copy.
Automating layer creation and grouping with a script
The script below builds a nested group and adds a configured layer inside it.
// ExtendScript (.jsx): build a nested group with one configured layer
var doc = app.activeDocument;
var artwork = doc.layerSets.add();
artwork.name = "Artwork";
var lighting = artwork.layerSets.add();
lighting.name = "Lighting";
var highlights = lighting.artLayers.add();
highlights.name = "Highlights";
highlights.opacity = 60;
highlights.blendMode = BlendMode.SCREEN;Exercise
A layer inside a group set to Pass Through uses the Multiply blend mode. Does that layer blend with the layers beneath the group?
Show answer
Yes. Pass Through lets the layer keep its own blend mode and blend directly with the layers beneath the group.