3
$\begingroup$

I've been creating a procedural material (white a bit glossy paint with rusty dents). I've created most of it without problems, but when I connect output of noise node (after few modifications) to displacement socket of material output, some of the dents are correct (downwards) and some of them are upwards. Is there a way to force it to be directed always in the opposite side of normal? (Make it always go downwards into the face)

$\endgroup$
5
  • $\begingroup$ Do you mean invert it? Or make it always go upwards? $\endgroup$
    – CharlesL
    Dec 18, 2013 at 15:37
  • $\begingroup$ Make it always go downwards into the face $\endgroup$ Dec 18, 2013 at 15:59
  • $\begingroup$ It should be indenting in the same direction consistently, is it possible your normals are inconsistent? $\endgroup$
    – gandalf3
    Dec 18, 2013 at 21:01
  • $\begingroup$ @gandalf3 it isn't really possible, though it does indent always in same directiono, but not taking face normal into account $\endgroup$ Dec 19, 2013 at 9:19
  • $\begingroup$ @madziorek15 Could you upload an image of what it looks like? I'm not sure I get what you mean. Also, are you using cycles experimental true displacement or just the default bump mapping? $\endgroup$
    – gandalf3
    Dec 19, 2013 at 9:22

2 Answers 2

2
$\begingroup$

You could use a color ramp and set the black value to a grey to add a plateau: enter image description here

Node setup:

enter image description here

$\endgroup$
2
$\begingroup$

If I can read your title with this much detail, if the displacement is different on different faces, then it sounds like your normals are not all facing the same direction. You can fix this by looking in the Mesh menu (in edit mode). Select all the faces, go to Mesh->Normals-> Recalculate Outside

This will attempt to flip any normals that are facing INTO the mesh, so that they face OUT of the mesh. FYI, this doesn't work very well on non-manifold meshes.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .