Nodes/ComfyUI-TextureAlchemy/Normal Map Relighter (IBL + PBR)
ComfyUI Node

Normal Map Relighter (IBL + PBR)

A ComfyUI node in Texture Alchemist/Lighting with 16 inputs and 5 outputs.

By amtarr·Created 8 months ago·Updated 4 months ago· 54
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)

NameTypeDefaultDescription
diffuse_imageIMAGEAlbedo/diffuse color map
normal_mapIMAGE
environment_mapIMAGE
environment_rotationFLOAT0-180–180Rotate environment map (degrees)
diffuse_intensityFLOAT1.00–10Diffuse lighting intensity
specular_intensityFLOAT1.00–10Specular reflection intensity
ambient_lightFLOAT0.100–1Ambient light level
roughness_multiplierFLOAT1.00–2Global roughness multiplier (affects both diffuse and specular blur)
roughness_affects_diffuseFLOAT0.500–1How much roughness affects diffuse detail (0=uniform, 1=fully controlled by roughness)
diffuse_contrastFLOAT1.00–2Diffuse softness control (0=soft/compressed highlights, 1=normal, 2=enhanced contrast). Lower values reduce metallic look
use_colored_diffuseBOOLEANfalseUse environment colors for diffuse (False = grayscale shading only)
diffuse_qualityCOMBOFlat Ambient (No Direction)Diffuse quality - Flat Ambient = pure even lighting (no reflection look)
normal_formatCOMBOOpenGLNormal map format
roughness_mapoptIMAGE
metallic_mapoptIMAGE
irradiance_mapoptIMAGE

Outputs (5)

NameTypeDescription
relit_imageIMAGE
diffuse_lightingIMAGE
specular_lightingIMAGE
diffuse_colorIMAGE
key_light_directionIMAGE