LayerStyle
Run ComfyUI Easily with InstaSD
Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:
- One-click deployment
- Any model, any node
- Powerful GPUs for rapid iteration
A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
Available Nodes
LayerColor: Color of Shadow & Highlight
LayerColor: Color of Shadow & Highlight Node Documentation
Overview
The LayerColor: Color of Shadow & Highlight node in ComfyUI is designed to adjust the color characteristics of shadows and highlights in an image. It manipulates the brightness, saturation, and hue of both shadow and highlight areas, allowing for precise color correction and artistic control over the image's lighting and coloring.
Inputs
The node requires several inputs that allow users to control the coloring and intensity of shadows and highlights. Here's a breakdown of these inputs:
Required Inputs
-
Image: The input image that you wish to process. The node uses this image to identify and adjust shadow and highlight regions.
-
Shadow Brightness: A float value ranging from
0.0to3.0with a default of1.0. This controls how bright the shadow areas will appear. -
Shadow Saturation: A float value ranging from
0.0to3.0with a default of1.0. Modifying this will change the saturation or intensity of colors in the shadow areas. -
Shadow Hue: An integer value ranging from
-255to255with a default of0. This input adjusts the hue of the shadow areas. -
Shadow Level Offset: An integer ranging from
-99to99, defaulting to0. This parameter shifts the level of shadow areas, effectively widening or narrowing the shadow range. -
Shadow Range: A float value from
0.01to0.99with a default of0.25. This defines the proportion of the image that is considered shadow. -
Highlight Brightness: A float value from
0.0to3.0, also defaulting to1.0. It adjusts the brightness of highlight areas. -
Highlight Saturation: A float value from
0.0to3.0with a default of1.0, affecting the saturation of colors in highlight regions. -
Highlight Hue: An integer value ranging from
-255to255with a default of0. This changes the hue of the highlight areas. -
Highlight Level Offset: An integer from
-99to99, defaulting to0. This shifts the level of highlights to control the range. -
Highlight Range: A float value from
0.01to0.99, with a default of0.25. Defines how much of the image is considered highlight.
Optional Inputs
- Mask: A mask input can be used optionally to direct where the shadow and highlight adjustments should be applied.
Outputs
The node produces:
- Image: The processed image, where shadows and highlights have been adjusted based on the specified parameters.
Usage in ComfyUI Workflows
This node is versatile and can be used in multiple ways within ComfyUI workflows:
-
Color Correction: Adjust the color balance in an image to correct the lighting and create a more natural or intended artistic effect.
-
Artistic Effects: Dramatically alter the look and feel of an image by enhancing or subduing shadows and highlights.
-
Preparation for Compositing: Improved control over tonal ranges can help in preparing images for compositing activities, allowing for better integration with other elements.
-
Selective Adjustments: When used with masks, selective adjustments can be applied to specific parts of an image for targeted corrections.
Special Features and Considerations
-
Range Control: Both shadow and highlight adjustments can be carefully controlled by adjusting the range and level offset parameters, allowing fine-grained control over tonal areas.
-
Mask Support: The optional mask input is crucial for users needing selective control, providing the ability to limit adjustments to specific image areas.
-
Batch Support: The node can handle multiple images in a batch, processing each based on its settings and producing consistent results across a series of inputs.
This node is a powerful tool in image processing workflows within ComfyUI, offering expansive and creative control over shadow and highlight coloring practices.