Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image quality with realistic lighting effects using Euler angles and various maps for AI artists.
The EulerLightingNode is designed to enhance the visual quality of images by simulating realistic lighting effects using Euler angles. This node takes in various maps such as diffuse, normal, and specular maps, and applies lighting calculations based on specified light directions and intensities. By adjusting parameters like light yaw, light pitch, specular power, and ambient light, you can achieve a wide range of lighting effects that add depth and realism to your images. The node is particularly useful for AI artists looking to add sophisticated lighting to their digital artworks without needing to delve into complex technical details.
The diffuse_map parameter is an image input that represents the base color of the surface without any lighting effects. It is essential for determining the overall color and texture of the final output. This parameter does not have a minimum, maximum, or default value as it is an image input.
The normal_map parameter is an image input that contains information about the surface normals, which are used to simulate how light interacts with the surface. This map is crucial for creating realistic lighting effects, as it helps in calculating the direction and intensity of the light hitting the surface. Like the diffuse_map, this parameter does not have a minimum, maximum, or default value.
The specular_map parameter is an image input that defines the reflective properties of the surface. It is used to calculate the specular highlights, which are the bright spots that appear on shiny surfaces when illuminated. This parameter also does not have a minimum, maximum, or default value.
The light_yaw parameter controls the horizontal angle of the light source. It ranges from -180 to 180 degrees, with a default value of 45 degrees. Adjusting this parameter changes the direction from which the light is coming, affecting the shadows and highlights on the surface.
The light_pitch parameter controls the vertical angle of the light source. It ranges from -90 to 90 degrees, with a default value of 30 degrees. This parameter affects the height of the light source, influencing how light and shadows are cast on the surface.
The specular_power parameter determines the sharpness of the specular highlights. It ranges from 1 to 200, with a default value of 32. Higher values result in sharper, more focused highlights, while lower values produce softer, more diffused highlights.
The ambient_light parameter controls the overall brightness of the scene by simulating indirect light that is scattered in all directions. It ranges from 0 to 1, with a default value of 0.50. Increasing this value makes the scene brighter, while decreasing it makes the scene darker.
The NormalDiffuseStrength parameter adjusts the intensity of the diffuse lighting based on the normal map. It ranges from 0 to 5.0, with a default value of 1.00. Higher values increase the impact of the normal map on the diffuse lighting, making the surface details more pronounced.
The SpecularHighlightsStrength parameter controls the intensity of the specular highlights. It ranges from 0 to 5.0, with a default value of 1.00. Increasing this value makes the specular highlights more prominent, while decreasing it reduces their intensity.
The TotalGain parameter adjusts the overall brightness of the final output. It ranges from 0 to 2.0, with a default value of 1.00. This parameter is useful for fine-tuning the final appearance of the image by increasing or decreasing the overall light intensity.
The output parameter is an image that combines the effects of diffuse, normal, and specular maps with the specified lighting settings. This output image reflects the enhanced visual quality achieved through realistic lighting simulations, making it suitable for use in digital artworks and other visual projects.
© Copyright 2024 RunComfy. All Rights Reserved.