ComfyUI Node
Normal Map Normalize
Fixes or rebuilds the Blue (Z) channel of a normal map. • Recalculate (Standard): Derives Z from X/Y using z = sqrt(1 - x² - y²), then maps to 0.5-1.0 range. Use for standard tangent-space normal maps. • Recalculate (0-1 Range): Same calculation but outputs raw Z (0-1). Use when shader expects unmapped values. • Set to 0/0.5/1: Forces a fixed value. Useful for debugging or special shaders.
Normal Map Normalize
- image
- IMAGE
◄output_zRecalculate (Standard)►
CategoryLeputen-Utils/NormalMap
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The input normal map to be normalized. | |
| output_z | COMBO | Recalculate (Standard) | How to set the Blue (Z) channel. 'Recalculate' derives Z from X/Y for valid normals. Fixed values useful for specific shaders. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |