Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: Mac3DX on 2022-05-29, 05:37:53

Title: Vertexmaps doesn't work with displacements/bumps
Post by: Mac3DX on 2022-05-29, 05:37:53
Hey there!

Tried to stack a few materials with displacements and masking them with vertexmaps but they seems not work. The mask only work for the base layer.

That's really disappointing, am I doing something wrong?
Title: Re: Vertexmaps doesn't work with displacements/bumps
Post by: Mac3DX on 2022-05-29, 19:35:26
It should be simple like that, what I'm doing wrong?

(https://www.dropbox.com/s/tdj0i53mqdww71s/corona_simpleDisp_setup.jpg?raw=1)
Title: Re: Vertexmaps doesn't work with displacements/bumps
Post by: Cinemike on 2022-05-29, 22:14:19
Does this work/render for you?
Title: Re: Vertexmaps doesn't work with displacements/bumps
Post by: Mac3DX on 2022-05-29, 22:20:45
No, completely white. What's going on?
Title: Re: Vertexmaps doesn't work with displacements/bumps
Post by: Cinemike on 2022-05-29, 22:25:39
No, completely white. What's going on?

What's your OS, C4D version, Corona version?
Could you add a scene of yours that does not work?
Anything else would be guessing.

This is how it renders here in the IR:

Title: Re: Vertexmaps doesn't work with displacements/bumps
Post by: Mac3DX on 2022-05-29, 22:39:06
No, completely white. What's going on?

What's your OS, C4D version, Corona version?
Could you add a scene of yours that does not work?
Anything else would be guessing.

This is how it renders here in the IR:

Appreciate you help Cinemike. I'm running Win 10, Cinema 4D R25, Corona 7 Hot fix2

I figured out a new way which is stacking two materials and use the VM into the opacity mask. It seems to be working.
Title: Re: Vertexmaps doesn't work with displacements/bumps
Post by: Cinemike on 2022-05-29, 23:31:47
No, completely white. What's going on?

What's your OS, C4D version, Corona version?
Could you add a scene of yours that does not work?
Anything else would be guessing.

This is how it renders here in the IR:

Appreciate you help Cinemike. I'm running Win 10, Cinema 4D R25, Corona 7 Hot fix2

I figured out a new way which is stacking two materials and use the VM into the opacity mask. It seems to be working.

You are welcome.

The white render I think I can explain. The new settings in V8 for Exposure etc. aren't fully backwards compatible, thus you would need to adjust the exposure settings to avoid an over exposure from the Sky I use to light the scene.

The displacement issue I think I can explain, too. Before V8 (IIRC at least), only the displacement of the base material of a layered material was taken into consideration, this has changed.
If you cannot switch to V8, a simple fix would be plugging the material with the displacement in the base material slot and the other one in the slot for material #1. You would have to invert the vertext map, too, of course.

HTH
Michael
Title: Re: Vertexmaps doesn't work with displacements/bumps
Post by: Mac3DX on 2022-05-30, 03:03:01
Hi Micheael

Really good to know about those fixes. So much alleviated now. For some reason I hate updates, but I'll have to head to V8.

Thanks Pal