Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply shading effect to images for dramatic lighting and visual enhancement using ImageMagick Shade node.
The ImageMagick Shade node is designed to apply a shading effect to an image, simulating the appearance of a light source casting shadows and highlights. This effect can add depth and dimension to your images, making them appear more three-dimensional and visually interesting. The shading effect is controlled by parameters such as azimuth and elevation, which determine the direction and angle of the light source. Additionally, you can choose to apply the shading in grayscale or color, allowing for a variety of artistic effects. This node is particularly useful for creating dramatic lighting effects and enhancing the visual appeal of your images.
The image parameter is the input image to which the shading effect will be applied. This should be an image file that you want to enhance with shading.
The gray parameter is a boolean option that determines whether the shading effect is applied in grayscale or color. If set to True, the shading will be in grayscale; if False, it will retain the original colors of the image. The default value is False.
The azimuth parameter controls the direction of the light source in degrees. It ranges from 0.0 to 1024.0, with a default value of 0.0. Adjusting this parameter changes the horizontal angle of the light source, affecting the direction of the shadows and highlights.
The elevation parameter controls the angle of the light source above the horizon in degrees. It ranges from 0.0 to 1024.0, with a default value of 0.0. Adjusting this parameter changes the vertical angle of the light source, affecting the intensity and position of the shadows and highlights.
The output parameter is the image with the applied shading effect. This enhanced image will have added depth and dimension, with shadows and highlights based on the specified azimuth and elevation parameters.
Invalid image input
Azimuth or elevation out of range
Gray parameter not boolean
© Copyright 2024 RunComfy. All Rights Reserved.