Visit ComfyUI Online for ready-to-use ComfyUI environment
Add realistic inner shadow effects to images for depth and dimension, enhancing layering and separation visually.
The LayerStyle: InnerShadow
node is designed to add a realistic inner shadow effect to your images, enhancing depth and dimension. This node is particularly useful for creating a sense of layering and separation between different elements in your artwork. By manipulating parameters such as shadow color, opacity, and blur, you can achieve a variety of shadow effects that can make your images more visually appealing and professional. The node processes the input images and applies the inner shadow effect based on the specified parameters, ensuring that the shadow blends seamlessly with the original image.
This parameter takes an image that serves as the background layer over which the inner shadow effect will be applied. The background image is essential as it provides the base context for the shadow effect.
This parameter takes an image that represents the layer to which the inner shadow will be applied. The layer image is the primary focus of the shadow effect, and it is essential for creating the desired depth.
This boolean parameter determines whether the mask should be inverted. The default value is True
. Inverting the mask can help in achieving different shadow effects by altering the areas where the shadow is applied.
This parameter specifies the blending mode used to combine the shadow with the layer image. Different blend modes can produce various visual effects, allowing for creative flexibility.
This integer parameter controls the transparency of the shadow. The default value is 50
, with a minimum of 0
and a maximum of 100
. Adjusting the opacity can make the shadow more or less prominent.
This integer parameter sets the horizontal offset of the shadow. The default value is 5
, with a range from -9999
to 9999
. Changing this value shifts the shadow horizontally, creating different shadow positions.
This integer parameter sets the vertical offset of the shadow. The default value is 5
, with a range from -9999
to 9999
. Adjusting this value shifts the shadow vertically, allowing for various shadow placements.
This integer parameter controls the expansion of the shadow. The default value is 2
, with a range from -9999
to 9999
. Increasing this value makes the shadow larger, while decreasing it makes the shadow smaller.
This integer parameter determines the amount of blur applied to the shadow. The default value is 15
, with a range from 0
to 100
. Blurring the shadow can create a softer, more diffused effect.
This string parameter specifies the color of the shadow. The default value is #000000
(black). Changing the shadow color can produce different visual effects and match the shadow with the overall color scheme of the image.
This optional parameter takes a mask image that defines the areas where the shadow should be applied. Using a mask can help in creating more complex and precise shadow effects.
This output parameter returns the image with the applied inner shadow effect. The resulting image combines the background and layer images with the specified shadow parameters, producing a visually enhanced final image.
blend_mode
settings to achieve unique shadow effects that complement your artwork.opacity
parameter to control the intensity of the shadow, making it more subtle or more pronounced as needed.distance_x
and distance_y
parameters to position the shadow in a way that enhances the depth and dimension of your image.blur
parameter for a softer shadow effect, which can create a more natural and less harsh appearance.layer_mask
parameter to apply the shadow effect selectively, allowing for more precise and creative shadow placements.shadow_color
parameter is not in a valid color format.#000000
for black.opacity
should be between 0
and 100
, and blur
should be between 0
and 100
.© Copyright 2024 RunComfy. All Rights Reserved.