Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: mitchino on 2020-09-01, 16:18:52

Title: displacement in layered material
Post by: mitchino on 2020-09-01, 16:18:52
I am doing a packaging render. There is a base colour and a printed foil. I have created a layered material with a base layer and then the foil layer defined with an image mask. Both these materials have a slight bump to give a card texture.

I also want the foil areas to be slightly debossed or indented like a foil stamp. So I've used a version of the foil mask with a tiny amount of blur and piped this into the displacement of the foil material.

I'm not getting the result I want in fact nothing seems to be happening.

What would be the best set-up for what I want to achieve?
Title: Re: displacement in layered material
Post by: bnji on 2020-09-01, 21:40:02

Hi,
The displacement is only taken from the base material, not coating materials. Maybe this is why you're not seeing the correct result.
Regards.
Title: Re: displacement in layered material
Post by: davetwo on 2020-09-01, 21:48:55
Indeed, see image attached.
While It may seem counter-intuitive - the displacement is on my background pattern material - not the top gold material
Title: Re: displacement in layered material
Post by: HenrikH on 2020-09-03, 09:43:13
Hi
I'm not sure if this can help you and maybe you have already tried something similar but when you have two materials with different displacement maps they can work together when you check "add Material" in the material tag.
Hope it works out for you!
Regards,
Henrik
Title: Re: displacement in layered material
Post by: Beanzvision on 2020-09-03, 10:08:52
The 'Add material' checkbox shouldn't really matter here as it's the opacity that is doing the blending. As you can see I have it unchecked for both.

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=30651.0;attach=132997;image)
Title: Re: displacement in layered material
Post by: HenrikH on 2020-09-03, 10:33:01
Oh, you are right, beanzvision, thanks for telling!