5
$\begingroup$

Dear friends and fellow Blenderheads, could you give me a hand with that profile? I have curve with a bevel profile - basically a lofted cornice. And it should have a cover on top. Is there a possibility to still have it as a curve without converting to mesh and have 2 materials assigned to it. E.g. material 1 - white stucco and material 2 - metal plate? Thanks. Bevelled curve

$\endgroup$
9
$\begingroup$

There is currently no way to have multiple materials using a single curve and a profile object.

You could have a single material containing 2 different shaders, but you would need a way to separate what material is for what part of the object. One way to do that would be to use a bevel object curve composed of two separate splines inside. You could flip the direction of one of the splines (w -> Switch Direction with the spline selected in edit mode) in order for the result to have one part of it with inverted normals.

enter image description here

You could then use Backfacing output of the Geometry node to mix your different shaders. Note that you will have the normals inverted so you will also have to take that into account in one of your shaders: for example you would have to invert the IOR value of the Fresnel node if you used one in the shader:

enter image description here

$\endgroup$
  • 4
    $\begingroup$ Pretty clever solution, I have encountered this issue often before and never thought of that. Nice one! $\endgroup$ – Duarte Farrajota Ramos Sep 27 '18 at 11:39
  • $\begingroup$ Thanks, man. This is amazing. That saved me a lot of time $\endgroup$ – Sergei Kritzien Sep 27 '18 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.