howtoUpdated 10/28/2026

Product relight: matching a cutout to the scene light

A low-denoise FLUX.1 schnell pass masked by the product alpha, with the original alpha reattached. Where the safe range is, and when not to use it.

Product relight: matching a cutout to the scene light
70-second overview: low-denoise relight with a product alpha

Related guides

- FLUX.1 schnell product scenes - Contact shadows: stop the sticker look ## What relighting solves

After compositing, if the product highlight points opposite the backdrop key light, it reads as pasted. Relighting changes only the product's light; it does not change shape, position or packaging information.

It fits a product shot with even studio light that needs to match warm window light, cool overcast or a soft top light. It does not fit mirror metal, glass or clear plastic: those reflections and refractions are not fixed by a simple repaint.

Transparent product PNG
Transparent product PNG: relighting changes light, not silhouette

Step 1: lock the product area

Use alpha as a mask so only the product participates in the repaint. The background must be transparent; otherwise the mask brings the background along.

Inspect the alpha edge: a white fringe will be amplified by relighting. Clean it in an external tool first.

Step 2: low-denoise repaint

FLUX.1-schnell runs four steps at CFG 1 with denoise 0.2–0.3. That range changes light and color bias without changing structure.

  • 0.2: most conservative, for branded text
  • 0.25: default, most packaging
  • 0.3: visible warm/cool shift, text still at risk

Above 0.35 small packaging text starts to blur; above 0.5 the model reinterprets the product and it is no longer suitable for SKU information.

Step 3: describe the target light

Describe light only, not the product:

  • warm window light from the left, soft shadow on the right, cozy interior
  • cool overcast daylight, soft top light, neutral color temperature
  • warm tungsten lamp from the upper right, gentle falloff

Do not write “a scented candle”. Alpha already locks the product; naming it invites the model to redraw.

Step 4: reattach the original alpha

After the repaint, JoinImageWithAlpha reattaches the input's mask. ComfyUI's LoadImage mask is already inverted alpha, so wire LoadImage's MASK output straight in — inverting it again turns the whole product transparent.

The goal:

  • Transparency and silhouette come from the input, untouched by the repaint
  • Light inside the product comes from the low-denoise pass
  • Text stability is a function of denoise, not of the compositing step
Warm relight
Warm window-light version
Cool relight
Cool overcast version

How to tell you went too far

  • Text edges soften: denoise too high
  • Product color drifts: too many color words in the prompt
  • Highlight direction is wrong: prompt light does not match the backdrop
  • Product looks like a different material: past the safe range, it was repainted

Categories better shot for real

Mirror metal, glass, clear plastic and cosmetic bottles with complex reflections are hard to relight physically. Shoot them for real; if a composite is unavoidable, accept “good enough”, not “perfect”.

Three light recipes

These prompts are written for the product only; the background prompt is separate.

  • Warm window, left: warm afternoon window light from the left, soft falloff on the right side, gentle amber highlight, keep product color
  • Cool overcast: cool overcast daylight, soft top-left light, neutral white balance, low contrast, keep product color
  • Tungsten lamp, upper right: warm tungsten lamp from the upper right, soft shadow to the lower left, cozy indoor color, keep product color

The phrase “keep product color” matters. Without it, FLUX may shift the package color along with the light.

Denoise and seed

Set denoise first, then try two or three seeds at the same denoise. Changing both at once makes it impossible to tell which variable caused the difference. Keep the seed fixed when comparing 0.2 vs. 0.25 vs. 0.3.

For branded packaging, start at 0.2. For unbranded props, 0.25 is usually enough. Do not go above 0.3 without checking text at 100%.

Quality check before compositing

  • Zoom to 100% on the smallest text; it should still be readable.
  • Compare the product's base color against the original; a visible hue shift is a fail.
  • Check the highlight direction against the scene key light.
  • Check the alpha edge; relighting can create a faint halo.

If two checks fail, discard the pass and shoot the product with the right light instead.

Related guides

Related reading

Workflows used in this guide

Check the version's test records and delivery status. Online trials are available only when enabled.

Keep reading