ComfyUI Node
Edge padding
Fill every pixel outside the mask from the nearest pixels inside it (push-pull), so mipmaps and filtering never blend the background into the border of a baked texture or atlas island.
Edge padding
- image
- mask
- ui_widget
- image
- receipt
- image_list
Category✨ LF Nodes/Texture
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Texture(s) to pad. Every channel, alpha included, is filled. | |
| mask | MASK | Pixels to keep (above 0.5), such as a bake's UV coverage. One mask for all images or one per image, same H,W. | |
| ui_widgetopt | LF_COMPARE | [object Object] | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Padded texture batch; pixels inside the mask are unchanged. |
| receipt | JSON | lf.edge-padding.v1: covered and padded pixel counts per image. |
| image_list | IMAGE | The same padded textures as an authoritative list. |