ComfyUI > Nodes > Comfyui-LG_Relight > LG Relight V2

ComfyUI Node: LG Relight V2

Class Name

LG_Relight_V2

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 V2 Description

Enhance image lighting with realistic effects for AI artists, adjusting brightness, shadows, and highlights dynamically.

LG Relight V2:

LG_Relight_V2 is a sophisticated node designed to enhance and manipulate the lighting of images by simulating realistic lighting effects. This node is particularly useful for AI artists who wish to add depth and dimension to their digital artwork by adjusting the lighting conditions. It allows you to control various aspects of lighting, such as brightness, shadow, and highlight characteristics, to achieve the desired visual effect. The node uses advanced calculations to modify the image based on the provided normal maps, which represent the surface orientation of the image. By doing so, it can simulate how light interacts with the surfaces, creating more dynamic and visually appealing results. The main goal of LG_Relight_V2 is to provide users with the ability to relight images in a way that enhances their artistic expression, making it an essential tool for digital artists looking to refine their work with realistic lighting effects.

LG Relight V2 Input Parameters:

image

The image parameter is the primary input for the node, representing the image you wish to relight. This parameter is crucial as it serves as the canvas on which the lighting effects will be applied. The image should be in a format that the node can process, typically a tensor representation of the image data. The quality and resolution of the input image can significantly impact the final relighting result, so it is advisable to use high-quality images for the best outcomes.

normals

The normals parameter is an image that provides the normal maps for the input image. Normal maps are essential for simulating realistic lighting effects as they contain information about the surface orientation of the image. This parameter allows the node to understand how light should interact with different parts of the image, enabling the creation of shadows and highlights that mimic real-world lighting conditions. The normals should be accurately generated to ensure the relighting effect is realistic and convincing.

LG Relight V2 Output Parameters:

IMAGE

The output parameter, IMAGE, is the relit version of the input image. This output represents the final result after applying the lighting adjustments specified by the input parameters. The relit image will have enhanced lighting effects, including adjusted brightness, shadows, and highlights, based on the normal maps and other settings. This output is crucial for artists who want to see the impact of their lighting adjustments and use the relit image in their creative projects.

LG Relight V2 Usage Tips:

  • Experiment with different normal maps to see how they affect the lighting on your image. Accurate normal maps can significantly enhance the realism of the relighting effect.
  • Adjust the brightness and shadow settings incrementally to achieve a balanced look. Drastic changes can sometimes lead to unnatural results, so subtle adjustments are often more effective.
  • Use the highlight and shadow color options to add creative lighting effects, such as simulating different times of day or artificial lighting conditions.

LG Relight V2 Common Errors and Solutions:

Error: "Invalid image format"

  • Explanation: This error occurs when the input image is not in a compatible format that the node can process.
  • Solution: Ensure that the input image is in a supported format, typically a tensor representation, and try again.

Error: "Normals map missing or incorrect"

  • Explanation: This error indicates that the normals map is either not provided or is not correctly formatted.
  • Solution: Check that the normals map is correctly generated and provided as input. Ensure it matches the dimensions and format expected by the node.

Error: "Lighting parameters out of range"

  • Explanation: This error suggests that one or more lighting parameters are set outside their acceptable range.
  • Solution: Review the lighting parameters and adjust them to fall within the recommended range, ensuring they are set to realistic values for the desired effect.

LG Relight V2 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.