Author Topic: Stacking with Falloff in Opacity kills Displacement  (Read 4383 times)

2018-01-21, 06:48:10

Cinemike

  • Active Users
  • **
  • Posts: 1007
    • View Profile
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.

2018-01-23, 05:33:54
Reply #1

Cinemike

  • Active Users
  • **
  • Posts: 1007
    • View Profile
Correction: EVERY kind of stacking kills the displacement, which makes it not usable.

2018-01-23, 10:01:35
Reply #2

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
Yeah, that might be problematic still... We will need to look into this issue

2018-01-23, 13:19:47
Reply #3

Cinemike

  • Active Users
  • **
  • Posts: 1007
    • View Profile
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.

2018-01-23, 21:54:51
Reply #4

Eddoron

  • Active Users
  • **
  • Posts: 552
  • Achieved Pedestrian
    • View Profile
Not really, the displacement only works for the base layer.

2018-01-24, 05:24:46
Reply #5

Cinemike

  • Active Users
  • **
  • Posts: 1007
    • View Profile
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.

2018-01-24, 09:58:54
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13130
  • Marcin
    • View Profile
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.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2018-01-26, 14:47:50
Reply #7

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
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.
« Last Edit: 2018-01-26, 15:07:00 by houska »

2018-01-30, 12:58:04
Reply #8

Nikola

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 478
    • View Profile

2018-01-30, 15:53:48
Reply #9

burnin

  • Active Users
  • **
  • Posts: 1591
    • View Profile
tested with R18 on W7, IPR & final look fine

eg

2018-01-30, 16:02:52
Reply #10

Cinemike

  • Active Users
  • **
  • Posts: 1007
    • View Profile
Confirmed.
Fast and nice fix.

Thx!