Visit ComfyUI Online for ready-to-use ComfyUI environment
Transform normal maps between formats, adjust vectors, fix black areas for enhanced digital art rendering.
The ConvertNormals
node is designed to transform normal maps between different formats and apply various adjustments to enhance their usability in digital art and 3D rendering. This node allows you to convert normal maps from one format to another, such as from BAE to MiDaS, and vice versa. Additionally, it provides options to scale the X and Y components of the normal map, normalize the vectors, and fix black areas that might appear in the normal map. These capabilities make it a versatile tool for artists looking to refine the appearance and functionality of their normal maps, ensuring they are correctly interpreted by different rendering engines or software.
This parameter represents the input normal map that you want to convert or adjust. It is a tensor containing the normal map data.
This parameter specifies the format of the input normal map. It can be set to either "BAE" or "MiDaS". "BAE" is a common format where the red channel is inverted, while "MiDaS" involves a different channel arrangement and inversion.
This parameter defines the desired format for the output normal map. Similar to input_mode
, it can be set to either "BAE" or "MiDaS". This allows you to convert the normal map to the required format for your specific use case.
This parameter allows you to scale the X and Y components of the normal map. It is a float value with a default of 1, a minimum of 0, and a maximum of 100. Adjusting this value can help you fine-tune the intensity of the normal map's details.
This boolean parameter determines whether the normal vectors should be normalized. Normalization ensures that the vectors have a unit length, which is important for accurate lighting calculations in 3D rendering.
This boolean parameter indicates whether to fix black areas in the normal map. Black areas can occur due to various reasons and might need correction to ensure the normal map functions correctly.
This optional parameter allows you to provide an additional fill image to be used when fixing black areas. If not provided, a default fill method is applied.
The output parameter t
is the transformed normal map. It is a tensor containing the normal map data after applying the specified conversions and adjustments. This output can be used directly in your rendering pipeline or further processed as needed.
input_mode
to "BAE" and output_mode
to "MiDaS".scale_XY
parameter to adjust the intensity of the normal map's details. A higher value will exaggerate the details, while a lower value will soften them.normalize
option to ensure the normal vectors have a unit length, which is crucial for accurate lighting calculations.fix_black
option to correct them. You can also provide an optional_fill
image for more customized corrections.{new_shape}
and {orig_shape}
ConvertNormals
node.ConvertNormals
node.input_mode
or output_mode
parameters.input_mode
and output_mode
parameters are set to either "BAE" or "MiDaS".© Copyright 2024 RunComfy. All Rights Reserved.