Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image lighting effects with adjustable parameters for dynamic visual appeal.
The LG_Relight_Basic
node is designed to enhance the lighting effects in your images by simulating realistic lighting conditions. This node allows you to adjust various lighting parameters to achieve the desired visual effect, making it a powerful tool for AI artists looking to add depth and dimension to their digital artwork. By manipulating light direction, brightness, and color, you can create dynamic and visually appealing images that stand out. The node is particularly useful for artists who want to experiment with different lighting scenarios without the need for complex 3D rendering software. Its intuitive interface and adjustable parameters make it accessible to users with varying levels of technical expertise, providing a straightforward way to enhance image aesthetics through lighting.
This parameter represents the input image that you want to relight. It serves as the base upon which all lighting adjustments will be applied. The image should be in a compatible format that the node can process.
The normals parameter is an image that contains normal map data, which is used to determine how light interacts with the surface of the image. This information is crucial for calculating realistic lighting effects, as it helps simulate how light would naturally fall on different surfaces.
This parameter controls the x-axis direction of the light source. It ranges from -1.0 to 1.0, with a default value of 0.0. Adjusting this slider changes the horizontal angle of the light, affecting how shadows and highlights are cast across the image.
The y parameter adjusts the y-axis direction of the light source, with a range from -1.0 to 1.0 and a default value of 0.0. This setting influences the vertical angle of the light, impacting the distribution of light and shadow in the image.
This parameter sets the z-axis direction of the light source, ranging from -1.0 to 1.0, with a default value of 1.0. It controls the depth of the light source, affecting the intensity and focus of the lighting on the image.
Brightness determines the overall intensity of the light applied to the image. It ranges from 0.0 to 3.0, with a default value of 1.0. Increasing brightness can make the image appear more vivid, while decreasing it can create a more subdued effect.
This parameter defines the range of shadows in the image, with a range from 0.0 to 2.0 and a default value of 1.0. It affects how far shadows extend from their source, influencing the overall contrast and depth of the image.
Shadow strength controls the intensity of the shadows, ranging from 0.0 to 2.0, with a default value of 1.0. Adjusting this parameter can make shadows appear darker and more pronounced or lighter and less noticeable.
This parameter sets the range of highlights in the image, with a range from 0.0 to 2.0 and a default value of 1.0. It determines how far highlights spread from their source, affecting the brightness and contrast of the image.
Highlight strength controls the intensity of the highlights, ranging from 0.0 to 2.0, with a default value of 1.0. This parameter can make highlights appear more vibrant and eye-catching or more subtle and blended.
The highlight color parameter allows you to set the color of the highlights in the image. The default color is white (#FFFFFF
), but you can choose any color to create different lighting effects and moods.
This parameter sets the color of the shadows in the image, with a default color of black (#000000
). Changing the shadow color can add a unique artistic touch to your image, allowing for creative lighting effects.
The output of the LG_Relight_Basic
node is an image that has been relit according to the specified parameters. This relit image reflects the adjustments made to lighting direction, brightness, shadow, and highlight properties, resulting in a visually enhanced version of the original input image. The output image can be used for further processing or as a final product in your digital artwork.
x
, y
, z
) to see how they affect the mood and depth of your image. Small adjustments can lead to significant changes in the visual outcome.highlight_color
and shadow_color
parameters to introduce creative lighting effects that can add a unique artistic flair to your images. This is particularly useful for creating thematic or stylized artwork.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.