Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Bug Reporting => [C4D] Resolved Bugs => Topic started by: Cinemike on 2018-01-21, 06:48:10

Title: Stacking with Falloff in Opacity kills Displacement
Post by: Cinemike on 2018-01-21, 06:48:10
R19, Win 10, Corona Beta 1 RC 2
Left image: Base material with displacement, blue color added with Falloff and material stacking: Displacement does not render.
Right image: Same with Layered material and Falloff as a mask there: Displacement renders.
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: Cinemike on 2018-01-23, 05:33:54
Correction: EVERY kind of stacking kills the displacement, which makes it not usable.
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: houska on 2018-01-23, 10:01:35
Yeah, that might be problematic still... We will need to look into this issue
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: Cinemike on 2018-01-23, 13:19:47
Yeah, that might be problematic still... We will need to look into this issue

Thx. Since it does work with the layered shader, it is not a limitation per se.
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: Eddoron on 2018-01-23, 21:54:51
Not really, the displacement only works for the base layer.
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: Cinemike on 2018-01-24, 05:24:46
Not really, the displacement only works for the base layer.

Yes, but when I put a second layer over the base material, it does not kill the underlying displacement. Big difference.


Of course, I would also love to have "mixed" stacking and for the layer shader to have all channels working not only for the base material, but that's another issue to be solved.
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: maru on 2018-01-24, 09:58:54
Just a note: in the 3ds Max version, when using the layered mtl, the displacement is as well considered only based on the base layer. This is by design, but we are receiving some reports that users do not like this, so this may be redesigned in the future.
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: houska on 2018-01-26, 14:47:50
So after some discussion, we decided to change this in Beta2. But for now as a workaround, you can just put the displacement into the last material (even if it is transparent - that shouldn't have any effect on the displacement) and that will work.

Edit: OK, so I changed it to use displacement from the first material in the stack, as expected and as it is in 3DS Max version. It might appear in the next RC.
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: Nikola on 2018-01-30, 12:58:04
Hi Michael,

it should be fixed in RC4 https://forum.corona-renderer.com/index.php?topic=18711.msg119472#msg119472 (https://forum.corona-renderer.com/index.php?topic=18711.msg119472#msg119472), can you please confirm it?

Nikola
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: burnin on 2018-01-30, 15:53:48
tested with R18 on W7, IPR & final look fine

eg
(https://i.imgur.com/XCSiIhK.jpg)
Title: Re: Stacking with Falloff in Opacity kills Displacement
Post by: Cinemike on 2018-01-30, 16:02:52
Confirmed.
Fast and nice fix.

Thx!