ComfyUI > Nodes > Comfyui-LG_Relight > LG Relight Basic

ComfyUI Node: LG Relight Basic

Class Name

LG_Relight_Basic

Category
🎈LAOGOU
Author
laogou666 (Account age: 352days)
Extension
Comfyui-LG_Relight
Latest Updated
2025-02-17
Github Stars
0.1K

How to Install Comfyui-LG_Relight

Install this extension via the ComfyUI Manager by searching for Comfyui-LG_Relight
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui-LG_Relight in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

LG Relight Basic Description

Enhance image lighting effects with adjustable parameters for dynamic visual appeal.

LG Relight Basic:

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.

LG Relight Basic Input Parameters:

image

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.

normals

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.

x

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.

y

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.

z

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

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.

shadow_range

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

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.

highlight_range

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

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.

highlight_color

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.

shadow_color

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.

LG Relight Basic Output Parameters:

IMAGE

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.

LG Relight Basic Usage Tips:

  • Experiment with different combinations of light direction (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.
  • Use the 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.

LG Relight Basic Common Errors and Solutions:

Error: "Invalid image format"

  • Explanation: The input image is not in a format supported by the node.
  • Solution: Ensure that the input image is in a compatible format, such as JPEG or PNG, before processing.

Error: "Normals data missing"

  • Explanation: The normals parameter is not provided or is incorrect.
  • Solution: Make sure to supply a valid normals image that contains the necessary normal map data for accurate lighting calculations.

LG Relight Basic Related Nodes

Go back to the extension to check out more related nodes.
Comfyui-LG_Relight
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.