ComfyUI Node
Normal Map Relighter (IBL + PBR)
A ComfyUI node in Texture Alchemist/Lighting with 16 inputs and 5 outputs.
Normal Map Relighter (IBL + PBR)
- diffuse_image
- normal_map
- environment_map
- roughness_map
- metallic_map
- irradiance_map
- relit_image
- diffuse_lighting
- specular_lighting
- diffuse_color
- key_light_direction
◄environment_rotation0►
◄diffuse_intensity1.0►
◄specular_intensity1.0►
◄ambient_light0.10►
◄roughness_multiplier1.0►
◄roughness_affects_diffuse0.50►
◄diffuse_contrast1.0►
◄use_colored_diffusefalse►
◄diffuse_qualityFlat Ambient (No Direction)►
◄normal_formatOpenGL►
CategoryTexture Alchemist/Lighting
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| diffuse_image | IMAGE | Albedo/diffuse color map | |
| normal_map | IMAGE | — | |
| environment_map | IMAGE | — | |
| environment_rotation | FLOAT | 0-180–180 | Rotate environment map (degrees) |
| diffuse_intensity | FLOAT | 1.00–10 | Diffuse lighting intensity |
| specular_intensity | FLOAT | 1.00–10 | Specular reflection intensity |
| ambient_light | FLOAT | 0.100–1 | Ambient light level |
| roughness_multiplier | FLOAT | 1.00–2 | Global roughness multiplier (affects both diffuse and specular blur) |
| roughness_affects_diffuse | FLOAT | 0.500–1 | How much roughness affects diffuse detail (0=uniform, 1=fully controlled by roughness) |
| diffuse_contrast | FLOAT | 1.00–2 | Diffuse softness control (0=soft/compressed highlights, 1=normal, 2=enhanced contrast). Lower values reduce metallic look |
| use_colored_diffuse | BOOLEAN | false | Use environment colors for diffuse (False = grayscale shading only) |
| diffuse_quality | COMBO | Flat Ambient (No Direction) | Diffuse quality - Flat Ambient = pure even lighting (no reflection look) |
| normal_format | COMBO | OpenGL | Normal map format |
| roughness_mapopt | IMAGE | — | |
| metallic_mapopt | IMAGE | — | |
| irradiance_mapopt | IMAGE | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| relit_image | IMAGE | — |
| diffuse_lighting | IMAGE | — |
| specular_lighting | IMAGE | — |
| diffuse_color | IMAGE | — |
| key_light_direction | IMAGE | — |