LayerStyle: OuterGlow V2 Node Documentation
Overview
The LayerStyle: OuterGlow V2 node is part of the ComfyUI library and is designed to apply an "Outer Glow" effect to images. It allows users to add a glowing effect around specified layers in their images, enhancing visual aesthetics by controlling the glow's characteristics such as color, opacity, brightness, and blur. This node is especially useful in design projects where you want to emphasize or highlight certain elements in an image.
Input Parameters
-
Background Image (background_image
)
- Type: IMAGE
- Description: The underlying image that serves as the canvas for the glow effect.
-
Layer Image (layer_image
)
- Type: IMAGE
- Description: The top image layer where the outer glow effect will be applied.
-
Invert Mask (invert_mask
)
- Type: BOOLEAN
- Default: True
- Description: Optionally invert the mask. This controls which parts of the layer image are affected by the glow.
-
Blend Mode (blend_mode
)
- Type: LIST (of preset modes)
- Description: The blend mode determines how the glow is combined with the background. Multiple blend modes are available for various visual effects.
-
Opacity (opacity
)
- Type: INT
- Default: 100
- Range: 0 to 100
- Description: Controls the transparency of the glow, where 0 is fully transparent and 100 is fully opaque.
-
Brightness (brightness
)
- Type: INT
- Default: 5
- Range: 2 to 20
- Description: Influences the intensity of the glow effect through multiple iterations.
-
Glow Range (glow_range
)
- Type: INT
- Default: 48
- Range: -9999 to 9999
- Description: Determines how far the glow extends from the image layer.
-
Blur (blur
)
- Type: INT
- Default: 25
- Range: 0 to 9999
- Description: Sets the amount of blur applied to the glow, providing a softer or sharper appearance.
-
Light Color (light_color
)
- Type: STRING
- Default: "#FFBF30"
- Description: The color of the glow nearest to the image layer, typically a lighter hue.
-
Glow Color (glow_color
)
- Type: STRING
- Default: "#FE0000"
- Description: The color of the outermost part of the glow, providing contrast or enhancement.
-
Layer Mask (Optional) (layer_mask
)
- Type: MASK
- Description: Specifies the areas of the layer image where the glow is applied.
Output
- Image (
image
)
- Type: IMAGE
- Description: The final image consisting of the background image combined with the layer image, enhanced by the applied outer glow effect.
Usage in ComfyUI Workflows
The OuterGlow V2 node is integrated into ComfyUI workflows to add glow effects to design elements. It can be used in various creative scenarios, such as:
- Highlighting an object or text against a busy background.
- Adding visual depth and appeal to graphical elements.
- Creating atmospheric effects in digital artworks.
To use the node, you typically pass a background and layer image, configure the glow parameters such as color, range, and opacity, and connect it to other nodes in a workflow to achieve desired outputs.
Special Features & Considerations
- Flexible Blending: Offers a range of blend modes to cater to different artistic needs, from subtle effects to vibrant glows.
- Iterative Brightness Control: The brightness parameter allows for iterative glow refinement, providing better control over the intensity and quality of the glow.
- Mask Inversion: The ability to invert the mask provides additional flexibility, controlling which parts of the layer image receive the effect.
- Batch Processing Capability: Can handle multiple images in a batch, ensuring consistency across a collection of assets.
Note that the node requires correctly formatted input images and parameters to function as expected. Improper configurations may lead to unexpected results or errors in the workflow.