Page MenuHome

Incorrect mixing in Glare node
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.16299-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86

Blender Version
Broken: version: 2.83 (sub 8), branch: master, commit date: 2020-03-12 00:33, hash: rB8751af6d1902
Worked: Never (2.79+)

Short description of error
Glare node with mix between -1 and 0 will brighten entire image

Exact steps for others to reproduce the error

See attached file:

First set Mix value to 1 and render to see only effect

  • Setting Mix to 0 is supposed to give a middle point between original and processed image. You can see that the background is not brightened:
  • Render image.

  • Mix set to -1 essentially disables glare. The background is also not brightened:
  • Render image.

  • Set Mix is set to -0.5
  • Render image. You can see that glare brightened entire image - this should not happen

Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.Mar 12 2020, 5:30 PM

I don't understand what the issue is here.
The mix is between -1 and 1.

A value of -1 would give just the original image, 0 gives a 50/50 mix, and 1 gives just the effect.

The images you showed show what Glare is intended to do.

The Glare node is used to add lens flares, fog, glows around exposed parts of an image and much more.


At Mix -0.5, the background is brightened, when only the emmisive part should be. Quickly switch between first two images. At mix = 0 it does not happen.

Richard Antalik (ISS) changed the task status from Needs Information from User to Confirmed.Mar 12 2020, 5:41 PM

I can confirm this

If you render with mix of 1, you will see, that no brightening near image edges should happen here

Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".Mar 12 2020, 5:47 PM
Richard Antalik (ISS) renamed this task from Glare node brightens entire image when mix is between -1 and 0 to Incorrect mixing in Glare node.Mar 12 2020, 5:47 PM
Richard Antalik (ISS) updated the task description. (Show Details)