I want a material where the side that is facing the light is glossy and the other side is some other shader like glass or something. What sort of nodes should I use? I've been searching around the internet for something related to this but I got nothing. I've actually been searching for many months but didn't realize I could just ask myself.
$\begingroup$
$\endgroup$
$\begingroup$
$\endgroup$
Use a Geometry Node to control the Mix factor between two shaders in a Mix Shader node. Use the Backfacing socket to set one shader to the backface of the plane, and the other is set to the front face.
-
$\begingroup$ if im using a sphere it doesn't work $\endgroup$ – Spaniards Fromheaven Jan 23 '17 at 21:35
-
$\begingroup$ @SpaniardsFromheaven it does work, though the other material is only be visible from inside the sphere $\endgroup$ – Duarte Farrajota Ramos♦ Jan 23 '17 at 23:59
-
$\begingroup$ Might want to edit your question to explain that then. I haven't an idea on that one, and a specific use case like that needs a specific answer. $\endgroup$ – Craig D Jones Jan 24 '17 at 2:04
-
$\begingroup$ In Texture Coordinate node, you can use the eyedropper to select your light object, and maybe then plugging 'Object' coordinate to mix factor might work. $\endgroup$ – Craig D Jones Jan 24 '17 at 3:37