Page MenuHome

EEVEE: ShaderToRGB alpha inversed

Authored by Jeroen Bakker (jbakker) on Sep 25 2020, 2:17 PM.



The alpha out socket output the average transmittance, not the alpha.
This patch will convert the transmittance to alpha.

Found during research of T80919; Issue introduced when Closure.opacity was migrated to Closure.transmittance.

Diff Detail

rB Blender

Event Timeline

Jeroen Bakker (jbakker) requested review of this revision.Sep 25 2020, 2:17 PM
Jeroen Bakker (jbakker) created this revision.
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)Sep 25 2020, 2:21 PM
Jeroen Bakker (jbakker) added 1 blocking reviewer(s): Clément Foucault (fclem).

Replaced clamp with saturate

This revision is now accepted and ready to land.Oct 20 2020, 2:50 PM
This revision was automatically updated to reflect the committed changes.