Maniphest T68454

Better Transparent BSDF
Closed, ResolvedTO DO

Assigned To
Clément Foucault (fclem)
Authored By
Clément Foucault (fclem)
Aug 9 2019, 3:20 PM
Tags
  • EEVEE & Viewport
Subscribers
Brecht Van Lommel (brecht)
Clément Foucault (fclem)
Dalai Felinto (dfelinto)
Demeter Dzadik (Mets)
paul szajner (szap)
William Reynish (billreynish)
zebus3d (ofuscado)
Tokens
"Love" token, awarded by Blendork."Love" token, awarded by ofuscado."Love" token, awarded by Mets.

Description

Using dual source blending, we can replicate Cycles Transparent BSDF behavior which is multiplicative and additive at the same time.
This would increase compatibility between both engine and remove the uneeded complexity of having separate Additive and multiplicative blend modes.

Estimate : 1 week

Related Objects

Mentioned In
T68518: Transparent BSDF Clamps Values in EEVEE but Not Cycles
T68455: Holdout
Mentioned Here
rBd5002f007e8d: Eevee: Improve Transparent BSDF behavior

Event Timeline

Clément Foucault (fclem) lowered the priority of this task from 90 to Low.Aug 9 2019, 3:20 PM
Clément Foucault (fclem) created this task.
Clément Foucault (fclem) mentioned this in T68455: Holdout.
Demeter Dzadik (Mets) awarded a token.Aug 9 2019, 5:48 PM
Demeter Dzadik (Mets) added a subscriber: Demeter Dzadik (Mets).Aug 9 2019, 5:50 PM
zebus3d (ofuscado) awarded a token.Aug 10 2019, 1:12 AM
zebus3d (ofuscado) added a subscriber: zebus3d (ofuscado).
Krusty Krustowski (Blendork) awarded a token.Aug 11 2019, 7:31 PM
paul szajner (szap) added a subscriber: paul szajner (szap).Aug 12 2019, 6:20 AM

Additive and multiplicative blend modes can be nice to keep for some cheating / NPR stuff.

Clément Foucault (fclem) added subscribers: William Reynish (billreynish), Dalai Felinto (dfelinto), Brecht Van Lommel (brecht).Aug 12 2019, 8:51 PM

@paul szajner (szap) these modes can still be achieve using a combination of transparent and emission node. Also using the shader to rgba node to transfer their color in a NPR way is better as it clearly shows that this is incompatible with cycles.

@Brecht Van Lommel (brecht) @Dalai Felinto (dfelinto) @William Reynish (billreynish) If i'm supposed to remove the old Additive and Multiplicative blend mode, should I:

  • A : Remove them and just let artists figure out what's wrong with the file (or at least do an alert in the bottom bar about the error). We did that at some point of 2.8.
  • B : Create the replacement nodes inside versioning code.
  • C : Create the replacement nodes inside tree evaluation code and keep the blend modes. But this add discrepancy between cycles and eevee.
William Reynish (billreynish) added a comment.Aug 12 2019, 8:58 PM

@Clément Foucault (fclem) IMO we should ideally do B. If not, then we can also accept small incompatibilities between releases, although it needs to be mentioned in the release notes.

Dalai Felinto (dfelinto) added a comment.Aug 12 2019, 9:00 PM

@Clément Foucault (fclem) B seems like the obvious choice here. Or more likely B + warnings for the few cases where you cannot convert them.

Clément Foucault (fclem) added a comment.Aug 12 2019, 9:07 PM

Ok going for B. But keep in mind that will break backward compatibility. Only way to keep it is to use C.

Clément Foucault (fclem) changed the task status from Unknown Status to Resolved.Aug 14 2019, 1:56 PM
Clément Foucault (fclem) claimed this task.

Implemented in rBd5002f007e8d

Clément Foucault (fclem) edited projects, added EEVEE & Viewport; removed GPU / Viewport.Jun 19 2020, 11:26 PM