Nodes/ComfyUI-Apt_Preset/Stack_EmbossAndFill
ComfyUI Node

Stack_EmbossAndFill

Texture Fill and Emboss Settings for Apt_Preset's Graphic Tools

By cardenluoĀ·Created 2 years agoĀ·Updated 21 days agoĀ· 309
Stack_EmbossAndFill
  • texture_image
  • EmbossAndFill
ā—„use_texture_fillfalseā–ŗ
ā—„texture_scale1.0ā–ŗ
ā—„emboss_effectfalseā–ŗ
ā—„emboss_depth2ā–ŗ
ā—„emboss_light_color#ffffffā–ŗ
ā—„emboss_shadow_color#000000ā–ŗ

Unlike most of the other Stack nodes in this pack, Stack_EmbossAndFill isn't part of the AI-generation pipeline at all - it's a settings bundle for a graphic-design-style effect: filling a shape or layer with a texture instead of a flat color, and optionally embossing it with a fake light source. Apt_Preset's changelog notes an "image editing and visualization nodes" addition in March 2026, and this node looks like part of that batch.

Inputs

Everything here is optional, and they split into two independent toggles:

Texture fill

  • texture_image - the image to use as a fill texture (no default; leave it unset if you're not using this feature).
  • use_texture_fill (BOOLEAN, default false) - turns the texture fill on.
  • texture_scale (FLOAT, default 1, range 0.1–5) - scales the texture up or down within the fill area.

Emboss

  • emboss_effect (BOOLEAN, default false) - turns on a raised/pressed 3D-looking edge.
  • emboss_depth (INT, default 2, range 1–10) - how pronounced the emboss effect is.
  • emboss_light_color (default #ffffff, white) and emboss_shadow_color (default #000000, black) - the two colors that fake a light source: a highlight color on the "lit" side of the embossed edge and a shadow color on the other, which is what sells the 3D illusion.

Output: EmbossAndFill, an EMBOSS_AND_FILL_DATA object - a config bundle rather than an image, meant to be consumed by another node in the pack that actually applies it.

What to actually change

Leave both use_texture_fill and emboss_effect off until you have a specific reason to turn one on - they're independent, so you can use texture fill without emboss, emboss without texture fill, or both together. If you turn on emboss, start with emboss_depth low (2–3) and adjust the light/shadow colors to match whatever direction you want the implied light source coming from - a warmer light color against a cooler shadow color reads more convincingly than pure white/black in most cases.

Where this fits - and what's not documented here

This node's output type doesn't match anything else among the 20 Apt_Preset nodes covered on comfy.icu, so the exact node that consumes an EMBOSS_AND_FILL_DATA bundle is somewhere else in the pack, outside what we can verify here. If you're not sure how to wire this in, check Apt_Preset's own example workflows on GitHub rather than guessing at a connection.

Install

ComfyUI Manager: search "ComfyUI-Apt_Preset," install, restart. By hand: cd ComfyUI/custom_nodes && git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git, then restart ComfyUI. The bundled install.bat dependency installer only runs on Windows - on Linux or a cloud box, open it to see what it lists and pip-install those packages yourself, or let ComfyUI Manager's "install missing nodes" catch it on first load.

Troubleshooting

If the node doesn't appear to do anything, check that you actually flipped use_texture_fill or emboss_effect to true - both default to off, so a freshly-added node changes nothing by design until you turn one of them on.

This pack does have real, reported import failures unrelated to this specific node - a comfyui subreddit thread shows (IMPORT FAILED): ...ComfyUI-Apt_Preset in someone's console. What fixed it was ComfyUI Manager's "install missing custom nodes," or deleting and re-cloning the repo by hand and restarting.

CategoryApt_Preset/stack/😺backup

Inputs (7)

NameTypeDefaultDescription
texture_imageoptIMAGE—
use_texture_filloptBOOLEANfalse—
texture_scaleoptFLOAT1.00.1–5—
emboss_effectoptBOOLEANfalse—
emboss_depthoptINT21–10—
emboss_light_coloroptSTRING#ffffff—
emboss_shadow_coloroptSTRING#000000—

Outputs (1)

NameTypeDescription
EmbossAndFillEMBOSS_AND_FILL_DATA—