PDA

View Full Version : Double Sided materials????


PoorhouseFX
03-21-2006, 05:50 PM
I was curious how to make a double sided material. Kind of like wrapping paper where one side has a texture and the other is a flat color. It is probably something simple right in front of my face but I can;t figure it out.

Any help would be appreciated.

Thanks

wigal
03-21-2006, 06:43 PM
In the Hypershade create a condition node, a samplerinfo and a surface shader.

Plug the outcolors of your 2 desired shaders into the coloriftrue/false of the condition.
Connect flippednormal of the samplerInfo with firstterm of the condition.
Plug outColor of the condition into outColor of the Surface shader. apply that one to your object.

frothlord
03-21-2006, 08:08 PM
This web site here (http://smorigin.scm.cityu.edu.hk/intranet/easn/docs/HowTos/) has a double sided leaf shader tutorial.

PoorhouseFX
03-23-2006, 02:55 PM
Thanks Wigal, worked perfectly.

dan1el
03-24-2006, 07:31 AM
Sorry to twist this abit.

What if you have a surface that have double sided shading and you don't know why it has it ?

We have a surface (NURBS) and changing it's color only changes it on one side...

Emil3d
03-24-2006, 11:25 PM
Daniel, do you mean that your NURBS surface has the shading network suggested in this thread and you don’t know who put it like that, or your NURBS surface acts like that without such shading network?

If the geometry is not assigned a shading network that produces double sided surface, first check if it renders correctly. If it is a problem only in the viewport, it is most likely only a display issue. This is usually related to the video card or driver but you can try changing the material or the hardware texture resolution and check if that helps.

CGTalk Moderation
03-24-2006, 11:25 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.