ComfyUI > Nodes > ComfyUI_PHRenderFormerWrapper > RenderFormer Lighting

ComfyUI Node: RenderFormer Lighting

Class Name

RenderFormerLighting

Category
PHRenderFormer
Author
paulh4x (Account age: 391days)
Extension
ComfyUI_PHRenderFormerWrapper
Latest Updated
2025-08-08
Github Stars
0.03K

How to Install ComfyUI_PHRenderFormerWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI_PHRenderFormerWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_PHRenderFormerWrapper 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

RenderFormer Lighting Description

Facilitates creation and manipulation of lighting in 3D scenes for AI artists using ComfyUI, enabling customization for visual effects.

RenderFormer Lighting:

RenderFormerLighting is a node designed to facilitate the creation and manipulation of lighting within a 3D scene, specifically tailored for AI artists working with the ComfyUI framework. This node allows you to define the properties of a light source, including its position, rotation, scale, and emissive characteristics, which are crucial for achieving the desired visual effects in your scene. By providing a comprehensive set of parameters, RenderFormerLighting enables you to customize the lighting to suit your artistic vision, enhancing the realism and mood of your renderings. The node's primary goal is to offer a flexible and intuitive interface for setting up lighting, making it accessible even to those without a deep technical background in 3D graphics.

RenderFormer Lighting Input Parameters:

emissive_rgb

This parameter specifies the color of the light in RGB format. It determines the hue of the light emitted by the source, which can significantly impact the atmosphere and tone of your scene. The color is defined as a string, typically in the format of a hex code or a comma-separated list of RGB values. There is no explicit minimum or maximum value, but it is generally expected to be within the standard RGB range of 0 to 255 for each component.

emissive_strength

Emissive strength controls the intensity of the light emitted by the source. A higher value results in a brighter light, which can illuminate larger areas or create more pronounced highlights. This parameter is a floating-point number, with a typical range starting from 0 (no light) to higher values depending on the desired brightness. The default value is often set to 1.0 for a standard light intensity.

light_pos_x

This parameter sets the x-coordinate of the light's position in the 3D space. It determines where the light source is located along the horizontal axis, affecting how shadows and highlights are cast in the scene. The value is a floating-point number, with no strict minimum or maximum, allowing for flexible placement within the scene.

light_pos_y

Similar to light_pos_x, this parameter defines the y-coordinate of the light's position, controlling its vertical placement in the scene. Adjusting this value can change the angle and coverage of the light, influencing the overall lighting dynamics. It is also a floating-point number with flexible range options.

light_pos_z

This parameter specifies the z-coordinate of the light's position, determining its depth placement in the 3D space. By adjusting this value, you can move the light source closer to or further from the camera, affecting the intensity and spread of the light. It is a floating-point number with no fixed limits.

rot_x

This parameter controls the rotation of the light source around the x-axis. It affects the direction in which the light is cast, allowing you to create dynamic lighting effects by tilting the light source. The value is typically in degrees, with a range from 0 to 360.

rot_y

Rot_y defines the rotation of the light source around the y-axis, influencing the horizontal direction of the light. By adjusting this parameter, you can simulate different times of day or create specific lighting angles. The value is in degrees, ranging from 0 to 360.

rot_z

This parameter sets the rotation of the light source around the z-axis, affecting the orientation of the light in the scene. It is useful for fine-tuning the light's direction and achieving precise lighting effects. The value is in degrees, with a range from 0 to 360.

scale

Scale determines the size of the light source, which can impact the softness and spread of the light. A larger scale results in a softer, more diffused light, while a smaller scale creates sharper shadows and highlights. The value is a floating-point number, typically starting from 0 for no scale to higher values for larger light sources.

RenderFormer Lighting Output Parameters:

light_definition

The output of the RenderFormerLighting node is a list containing a single light definition. This definition includes all the specified properties of the light, such as its transform and material attributes. The light definition is crucial for integrating the light into the 3D scene, allowing it to interact with other elements and contribute to the overall visual composition. The output is structured to be easily connected to other nodes within the ComfyUI framework, facilitating seamless scene building and rendering.

RenderFormer Lighting Usage Tips:

  • Experiment with different emissive_rgb values to achieve unique lighting effects and enhance the mood of your scene.
  • Adjust the emissive_strength parameter to control the brightness of your light source, ensuring it complements the other elements in your scene without overpowering them.
  • Utilize the rotation parameters (rot_x, rot_y, rot_z) to simulate different lighting conditions, such as sunrise or sunset, by changing the angle and direction of the light.

RenderFormer Lighting Common Errors and Solutions:

RenderFormer LightingTarget: Invalid start_lighting input.

  • Explanation: This error occurs when the start_lighting input is either missing or not in the expected format, which should be a list containing at least one valid light definition.
  • Solution: Ensure that the start_lighting input is correctly formatted as a list with at least one light definition. Double-check the structure and content of the input to match the expected format.

RenderFormer Lighting Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_PHRenderFormerWrapper
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 Models, enabling artists to harness the latest AI tools to create incredible art.