Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] Bug Reporting => [C4D] Resolved Bugs => Topic started by: ShynnSup on 2021-11-29, 15:17:52

Title: Multiple Bump Shaders on same Material?
Post by: ShynnSup on 2021-11-29, 15:17:52
Hi all,

I am not sure how to achieve this with Corona, actually not even in C4D.

I would like to combine 3 bump shaders for example: some scratching together with some dirt and some brushstrokes as if it was real paint.

I am guessing something along the Layer shader? I tested a bit and did not get the result I was looking for. Maybe multiply mode is not the way to go?
Another idea I had was to create 2 separate materials and then combine them both with a mask? Is that possible in Corona? For example, have a metal material, a paint material, and a mas of scratches, the result will look as if the paint has been scratched and you can see the metal underneath. I could use this logic to stack bump shaders too.
Title: Re: Multiple Bump Shaders on same Material?
Post by: Beanzvision on 2021-11-29, 16:02:42
Hi there,

The Corona layered material will allow you to stack different bumps to your object as shown in my example below.

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=35007.0;attach=157406;image)
Title: Re: Multiple Bump Shaders on same Material?
Post by: ShynnSup on 2021-11-29, 17:06:47
Awesome! I forgot to check into material types! Thank you!
Title: Re: Multiple Bump Shaders on same Material?
Post by: ShynnSup on 2022-03-20, 03:19:46
Hey, sorry to bump this thread, but I think along the same lines, what is the proper way to 'mix' two textures? Pretty much like Vray mixer does?

Do I need to use some native C4D shader? if so which? Thanks!

3Ds max
(https://i.imgur.com/o7r3Hm1.jpg)

Rhino Mix Texture
(https://i.imgur.com/MR3Jby2.png)

Rhino Mix Value
(https://i.imgur.com/dmVR4Wc.png)
Title: Re: Multiple Bump Shaders on same Material?
Post by: Nejc Kilar on 2022-03-21, 11:13:23
@ShynnSup

I think you might want to give the Corona "Mixture shader" a spin. I think that one will be pretty similar to the examples you've shown us here. Otherwise you can always resort to the Cinema 4D's Layer shader although if you're just mixing two textures I personally prefer the "Mixture shader".

Hope that helps!
Title: Re: Multiple Bump Shaders on same Material?
Post by: ShynnSup on 2022-03-21, 14:23:46
Hi Nejc

Thank you, will try both.
Just to clarify. with the native Layer shader do I have to set both channels at 'normal' and at 50% to have a blending of 0.5?

(https://i.imgur.com/1z14Cwe.png)
Title: Re: Multiple Bump Shaders on same Material?
Post by: Nejc Kilar on 2022-03-21, 16:05:52
You're welcome and thanks for the question :)

With the Layer shader you need to have the bottom most layer be at 100% because otherwise you're basically lowering its opacity and since there is no shader below it, it'll get mixed with pure black.

So I'd approach it like you did but give the greenish color that is sitting at the bottom 100% strength.

Or, as I mentioned you can also use Corona's Mixture Shader in "Mix" mode. Whichever you prefer.