Visit ComfyUI Online for ready-to-use ComfyUI environment
Simulate ethereal light beams for dramatic visual enhancements.
The GodRaysNode is a powerful tool designed to simulate the ethereal effect of light beams, often referred to as "god rays," streaming through an image. This node is particularly useful for artists looking to add a dramatic and atmospheric touch to their visuals, enhancing the sense of depth and realism. By manipulating various parameters, you can control the intensity, number, and length of the rays, as well as their source position and color temperature. This flexibility allows for a wide range of creative possibilities, from subtle enhancements to bold, striking effects. The node's primary function is to overlay these light beams onto an image, creating a visually captivating result that can transform the mood and tone of your artwork.
The image
parameter is the input image to which the god rays effect will be applied. It serves as the canvas for the light beams, and the final output will be a modified version of this image with the god rays effect overlaid.
The intensity
parameter controls the brightness of the god rays. A higher intensity value results in more pronounced and vivid rays, while a lower value produces a subtler effect. The default value is 0.5, with a range from 0.0 to 2.0, allowing for fine-tuning of the effect's strength.
The num_rays
parameter specifies the number of light beams to be generated. More rays can create a denser and more dramatic effect, while fewer rays may result in a more understated look. The default is 8 rays, with a minimum of 3 and a maximum of 20, providing flexibility in the visual outcome.
The ray_length
parameter determines the length of the god rays relative to the image dimensions. A longer ray length can enhance the dramatic impact, while shorter rays may offer a more subtle effect. The default value is 0.8, with a range from 0.1 to 2.0, allowing for customization based on the desired visual style.
The source_x
parameter sets the horizontal position of the light source as a fraction of the image width. This allows you to control where the rays originate, with a default value of 0.5, ranging from 0.0 to 1.0, enabling precise placement of the light source.
The source_y
parameter sets the vertical position of the light source as a fraction of the image height. Similar to source_x
, this parameter allows for control over the origin of the rays, with a default value of 0.2, ranging from 0.0 to 1.0.
The color_temp
parameter adjusts the color temperature of the god rays, influencing their hue. A lower value results in warmer tones, while a higher value produces cooler tones. The default is 3000.0, with a range from 2000.0 to 8000.0, allowing for a wide spectrum of color effects.
The decay
parameter controls how quickly the intensity of the rays diminishes along their length. A higher decay value results in rays that fade out more quickly, while a lower value maintains their brightness over a longer distance. The default is 0.8, with a range from 0.1 to 1.0.
The output is an IMAGE
parameter, which is the original input image with the god rays effect applied. This modified image showcases the added light beams, enhancing the visual appeal and depth of the scene. The output image retains the same dimensions as the input, ensuring consistency in size and format.
intensity
and num_rays
parameters to achieve the desired level of drama and atmosphere in your image. Higher values can create a more striking effect, while lower values may be suitable for subtle enhancements.source_x
and source_y
parameters to position the light source in a way that complements the composition of your image. This can help in directing the viewer's attention to specific areas.color_temp
parameter to match the mood of your image. Warmer tones can evoke a sense of warmth and nostalgia, while cooler tones may convey a more serene or mysterious atmosphere.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.