Nodes/ComfyUI-TextureAlchemy/Temperature & Tint
ComfyUI Node

Temperature & Tint

The white-balance node your material set is missing

By amtarr·Created 9 months ago·Updated 4 months ago· 58
Temperature & Tint
  • image
  • result
temperature0.00
tint0.00
strength1.00

Your albedo came out blue. Your photo reference is warm. Your material set has two textures that should match but one of them is clearly shot under different light. Temperature & Tint is the white-balance-style adjustment that fixes exactly that - two sliders on the two axes photographers actually care about, instead of three fiddly RGB sliders.

How it works

It works on the two axes that make color casts readable:

  • temperature (−1 to +1, Cool → Warm) - shifts along the blue/yellow axis. Negative adds blue and takes away red; positive adds red and takes away blue. A photo that reads cold (blue-ish) gets warmed up by pushing positive.
  • tint (−1 to +1, Green → Magenta) - shifts along the green/magenta axis. Negative adds green and reduces red/blue; positive does the opposite. This is the axis that fixes fluorescent-light casts and the green tint that sneaks into skin and foliage.

strength (0 to 2, default 1) scales how hard both sliders bite, so you can set a direction and then dial the whole effect up or down without touching the angle. The shifts are simple channel arithmetic under the hood, and the output is clamped to 0–1 so you can't blow the range.

What to reach for it for

Matching maps from different sources is the killer use case. When you've extracted albedos from photos taken under different lighting, a couple of ticks of temperature pulls them into the same family before they ever hit the material. It's also the fast fix for a generated texture that's uniformly too cool or too green - one slider, done, no curve work.

Installing it

Part of amtarr/ComfyUI-TextureAlchemy - ComfyUI Manager "Texture Alchemy", or:

cd ComfyUI/custom_nodes
git clone https://github.com/amtarr/ComfyUI-TextureAlchemy

Restart, then right-click → Add Node → Texture Alchemist → Color. No dependencies, no models - channel adds on ComfyUI's bundled PyTorch.

The honest gotchas

This shifts whole channels, so it's a global color cast, not a selective one. If only the shadows are green, this will green the whole image and you want a mask-based correction instead. And remember it's a cast adjustment, not a brightness one - if your texture is both cold and dark, temperature fixes the cold and gamma fixes the dark; don't expect one node to do both. The pack prints its console banner on every run, which is normal noise.

CategoryTexture Alchemist/Color

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
temperatureFLOAT0.00-1–1Cool (-) to Warm (+)
tintFLOAT0.00-1–1Green (-) to Magenta (+)
strengthFLOAT1.000–2

Outputs (1)

NameTypeDescription
resultIMAGE