Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance images with simulated lighting effects using normal maps for artistic adjustments and depth.
The RelightSimple node is designed to enhance your images by simulating different lighting conditions. This node takes an image and its corresponding normal map to apply a new lighting direction and brightness, creating a relit version of the original image. By adjusting the light direction and brightness, you can achieve various artistic effects, such as emphasizing certain features or creating dramatic shadows. This node is particularly useful for AI artists looking to add depth and realism to their images without manually editing each pixel.
This parameter represents the input image that you want to relight. It should be an image tensor that the node will process to apply the new lighting conditions.
This parameter is the normal map corresponding to the input image. The normal map provides information about the surface orientation of the image, which is crucial for accurately simulating the lighting effects.
This parameter controls the x-direction of the light source. It accepts a float value ranging from -1.5 to 1.5, with a default value of 0.0. Adjusting this value changes the horizontal direction of the light, affecting how shadows and highlights are cast on the image.
This parameter controls the y-direction of the light source. It accepts a float value ranging from -1.5 to 1.5, with a default value of 0.0. Adjusting this value changes the vertical direction of the light, influencing the overall lighting effect on the image.
This parameter adjusts the brightness of the relit image. It accepts a float value ranging from 0.0 to 100, with a default value of 1.0. Increasing this value makes the image brighter, while decreasing it makes the image darker.
The output is the relit image, which is an image tensor that has been processed to reflect the new lighting conditions specified by the input parameters. This relit image will have enhanced lighting effects, making it appear more dynamic and realistic.
x_dir
and y_dir
values to find the optimal lighting direction that enhances the features of your image.brightness
parameter to fine-tune the overall illumination of the image, ensuring that it matches the desired artistic effect.© Copyright 2024 RunComfy. All Rights Reserved.