Page 1 of 1

Different material for each SIDE (e.g. leaves)

Unread postPosted: Tue Jul 14, 2020 2:43 pm
by Karen_Jonhson
in Redshift there is the RS Ray Switch that allows having a front material and a back material for the same (leaf) geometry.
In Clarisse, I see there is [sidedness: double sided] but that uses the same material.
Is there a way to assign a different material to the other side of the geometry?

Re: Different material for each SIDE (e.g. leaves)

Unread postPosted: Tue Jul 14, 2020 5:48 pm
by jstein
under texture utility there is the sideswitch node with front and back color input

ciao j

Re: Different material for each SIDE (e.g. leaves)

Unread postPosted: Tue Jul 14, 2020 9:59 pm
by ayanik
There's also another way, but it requires more nodes to setup. I don't recommend this method, but it might be nice to know.

Via the Utility node you can get more data than the RS State node provides. One of them is called "Is Facing?"
facing.png


I shared both methods in the attached project file.