10
$\begingroup$

I want to use a type of scratched metal thing to use for a robot I'm working on, but I want to know how to do it in a procedural way, just using nodes and math, is there any way I can do that? This is a picture of what I want it to look like, but, just less scratches, so if anyone has a way, please tell me.enter image description here

$\endgroup$
3
13
$\begingroup$

If we take a Voronoi texture set to Distance to Edge, and do a Less Than operation we get this map:

enter image description here

We can use another Voronoi set to F1 to generate a map that lets us subtract out most of the corners.

enter image description here

Note that we are using the same scale for both Voronoi textures, and we are clamping the subtract operation to prevent our values from falling below 0.

enter image description here

The Less Than threshold controls the thickness of scratches, the Greater Than threshold controls how much of the initial map we remove.

You can stack up as many layers of this as you want:

enter image description here

And then plug it into a Bump node with distance set to -1 to sink it into the mesh instead of pushing out.

enter image description here

Here's a setup attempting to resemble your reference image.

enter image description here

$\endgroup$
-1
$\begingroup$

Use texture paint. Press U on the keyboard-in order to texture paint as you'll need to UV unwrap the object (probably just use simple UV project unless You know specifically what you want).

Then go into the texture paint tab and go into edit mode. If you want depth to the scratches just create extra faces around the color using F.

$\endgroup$
1
  • 3
    $\begingroup$ The question asked specifically how to this procedurally. What you are describing isn't a procedural workflow. $\endgroup$ – user3399 Jan 6 at 10:35

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.