Back to Node List

Blend

blend

Blends two images together

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
ベース
base
Image
Required
ベース(下)の画像
ブレンド
blend
Image
Required
ブレンド(上)の画像

Output Ports

NameTypeDescription
画像
output
Image
合成結果の画像

Parameters

NameTypeDefaultRangeDescription / Options
モード
mode
Enum
Normal

ブレンドモード

  • 通常Normal
    通常のアルファ合成
  • 乗算Multiply
    暗くする合成、影に有用
  • スクリーンScreen
    明るくする合成、ハイライトに有用
  • オーバーレイOverlay
    コントラスト強調
  • 加算Add
    加算合成、発光エフェクトに有用
  • 減算Subtract
    上の色を差し引いて暗くします
  • 差の絶対値Difference
    2色の差を取り出します。違い比較や特殊効果に有用
  • 比較(暗)Darken
    チャンネルごとに暗い方の色を残します
  • 比較(明)Lighten
    チャンネルごとに明るい方の色を残します
  • ソフトライトSoftLight
    やわらかいコントラスト。淡い陰影や色付けに有用
  • ハードライトHardLight
    強いコントラスト。はっきりした光と影に有用
  • 覆い焼きColorDodge
    下の色を強く明るくします。強い光の表現に有用
  • 焼き込みColorBurn
    下の色を強く暗くします。深い影の表現に有用
不透明度
opacity
Float
10–1 / step 0.01

ブレンドの不透明度

出力サイズ
output_size
Enum
Base

出力サイズの決定方法

  • ベースBase
    ベース画像のサイズを使用
  • ブレンドBlend
    ブレンド画像のサイズを使用
  • 大きい方Larger
    整列とオフセット後の両画像が収まる範囲を使用
  • 小さい方Smaller
    各辺の小さい方を採用
整列
anchor
Enum
Top-Left

ブレンド画像の配置位置

  • 左上Top-Left
  • 上中央Top-Center
  • 右上Top-Right
  • 左中央Center-Left
  • 中央Center
  • 右中央Center-Right
  • 左下Bottom-Left
  • 下中央Bottom-Center
  • 右下Bottom-Right
オフセットX
offset_x
Int
0-4096–4096

整列後の水平オフセット(ピクセル)

オフセットY
offset_y
Int
0-4096–4096

整列後の垂直オフセット(ピクセル)

Overview

The basic node for compositing two images. It is equivalent to a layer plus blend mode in painting software, covering everything from placing an asset over a base to Multiply shadows and Add glows.

Usage tips

  • Choose the mode by intent: place an asset unchanged → Normal; shadows or grime → Multiply; light or highlights → Screen or Add (Add gives a stronger glow); emphasize color → Overlay.
  • If the effect is too strong, reduce opacity before changing modes. It multiplies the top image's alpha: 0 is an exact base-image identity, including hidden transparent RGB, and 1 uses the top image's original alpha. A practical range is often 0.3–0.6.
  • When compositing images of different sizes, decide output_size and anchor first. For placing a sprite on a canvas, the go-to setup is output_size = Base + anchor = Center.
  • For three or more images, chain Blend nodes. If there are many layers, image_layer_compose is easier to organize.
  • Use blend_by_mask when compositing through a shape.

Hover over a mode in the drop-down menu to see its tooltip description.

Common pitfalls

  • The top image completely hides the bottom one: Normal overwrites the base. Check the top image's transparent areas or reduce opacity if the base should show through.
  • Overflow is clipped: output_size = Base (the default) outputs only the base image bounds. Choose Larger to fit both images after alignment and offsets.
  • The position is offset incorrectly: placement is resolved from anchor, then offset. The offset slider range follows the canvas size; use numeric input (up to ±4096) for larger movements.

Placement parameters

output_size (output size)

Value Label Description
Base Base Output the base image size (default). The base is placed at (0,0)
Blend Blend Output the blend image size
Larger Larger Fit both images after alignment and offsets; negative positions shift the output origin
Smaller Smaller Use the smaller dimension on each axis: min(base.w, blend.w) × min(base.h, blend.h)

When using anything other than Base, the base image is centered on the initial canvas. Larger then expands to both image bounds, so negative offsets are retained.

alignment

Choose one of nine positions for the blend image on the output canvas:

Top-Left              Top-Center              Top-Right
Center-Left           Center                  Center-Right
Bottom-Left           Bottom-Center           Bottom-Right

offset_x / offset_y (offset)

Fine-tune the position in pixels after alignment. Positive values move right/down.

Dynamic slider range: the slider range follows the project canvas size (offset_x → ±canvas width, offset_y → ±canvas height). Numeric fields accept direct values up to ±4096.

Examples

Basic: compositing same-size images

Composite a 32×32 overlay over a 32×32 base with Normal, opacity: 0.5.

Different sizes: centering a small image

Place a 16×16 icon on a 32×32 base with alignment: Center → the icon occupies (8,8)–(23,23).

Placement with an offset

Place a 32×32 sprite on a 64×32 base with alignment: Top-Left, offset_x: 4 → the sprite starts at (4,0).

Related nodes

  • image_layer_compose — composite many layers at once (best for three or more)
  • blend_by_mask — control the composited area with a mask image
  • erase_by_mask — erase with a mask instead of compositing
  • solid_color — create a base for compositing
Back to Node List
Blend — PixPipeline Node Reference