Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate normal maps from grayscale images for enhancing 3D models with depth and texture.
The NormalMapSimple node is designed to generate normal maps from input images, which are essential in 3D graphics and game development for simulating the lighting of bumps and dents on a surface. This node simplifies the process by converting grayscale images into normal maps, which can then be used to add depth and texture to 3D models without increasing the polygon count. By leveraging this node, you can enhance the visual richness of your digital art and 3D models, making them appear more detailed and realistic. The node uses the Scharr operator to compute the gradient of the image, which is then normalized and scaled to produce the final normal map.
This parameter accepts the input images from which the normal maps will be generated. The images should be in a format that the node can process, typically a tensor representing the image data. The input images are converted to grayscale to compute the gradients necessary for generating the normal map.
This parameter controls the scaling factor for the X and Y components of the normal map. It allows you to adjust the intensity of the normal map's effect, making the bumps and dents appear more or less pronounced. The default value is 1, with a minimum value of 0 and a maximum value of 100. The step size for adjustments is 0.001, providing fine control over the scaling.
The output is the generated normal map, which is an image that encodes the surface normals of the input image. This normal map can be used in various applications, such as 3D rendering and game development, to simulate detailed surface textures and enhance the visual realism of 3D models.
scale_XY
parameter. This will make the normal map's features more prominent.scale_XY
values to find the optimal setting for your specific use case, as different images may require different scaling factors.© Copyright 2024 RunComfy. All Rights Reserved.