Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: 4b4 on 2016-05-13, 12:16:17

Title: Two Sided Material
Post by: 4b4 on 2016-05-13, 12:16:17
Hello

Does anyone have a workaround for the lack of a two sided material in C4D at present (A5.1)

Cheers
Title: Re: Two Sided Material
Post by: maru on 2016-05-13, 12:57:26
If you mean assigning different colors/textures to front/backside - it looks like C4D's "normal direction" works fine (under "effects").
Title: Re: Two Sided Material
Post by: 4b4 on 2016-05-13, 14:27:28
thanks Maru, that works for solid colours but doesn't seem to work under the layer shader.

How would you use the normal direction for leaves for example?
Title: Re: Two Sided Material
Post by: Rhodesy on 2016-05-13, 14:47:51
If your just after a way of making of making leafs for a tree the translucency option is a good one.
Title: Re: Two Sided Material
Post by: 4b4 on 2016-05-13, 14:55:22
thanks Rhodesy

I've got translucency enabled with a texture in there with the hue adjusted via a filter but I was hoping to adjust the reflections for the underside of the leaf as they tend to be a lot less glossy than the top.
Title: Re: Two Sided Material
Post by: iNevestenko on 2016-05-13, 15:50:04
If you mean assigning different colors/textures to front/backside - it looks like C4D's "normal direction" works fine (under "effects").
What about? not work Front/Back materials
Title: Re: Two Sided Material
Post by: 4b4 on 2016-05-13, 17:02:12
I think Maru is talking about the C4D shader (see screenshot):

It works for solid colours but I'm not sure how to use it for different reflections on a leaf for example.
Title: Re: Two Sided Material
Post by: burnin on 2016-05-13, 19:01:38
Yup, Normal Direction shader works. For reflection use it in Reflection channel (colors only).

(http://i.imgur.com/jV9nbRH.jpg)

Edit... so found a bug or unsupported feature: Corona doesn't respect side selections in Texture tag properties for Side. Reported on mantis ID0001888 (https://corona-renderer.com/bugs/view.php?id=1888).

(http://i.imgur.com/aVbj86W.jpg)
Title: Re: Two Sided Material
Post by: Behrendt on 2017-06-20, 21:57:59
I stumbled across this topic while googling for 2 Sided Materials inside Corona for C4D, so please forgive me if my solution is already known. You can put the Normal Dircetion Shader into a Corona Output Shader and use it as a layer mask inside a layer shader, then you can have two different textures and are not restricted to just using the colors of the normal direction shader.
Title: Re: Two Sided Material
Post by: 4b4 on 2017-06-22, 21:05:53
Thanks for this Behrendt, works really well.