Website powered by

Scratch texture generator

A while back I saw someone make a scratch texture generator in blender as a separate addon, and I remember thinking that I could probably make something quite similar within geometry nodes itself. As it turns out, I was able to make something quite useful.
Essentially this is a geometry nodes setup that allows users to generate scratch textures. Why is this useful? Well, if you are going for realism in your projects chances are you would want some sort of micro scratches and imperfections on your materials. This setup not only generates the black and white scratch textures, but also creates a normal map and anisotropic rotation map that can be used in the principled BSDF to give you results that look great. I also added a feature that gives the scratches a slight iridescent coloring.
The full setup plus some additional stuff are available on Superhive for 3 USD, or the generator itself is on my Gumroad for free!
https://superhivemarket.com/products/scratch-generator

With scratches

With scratches

Without scratches. (the additional imperfections are due to the roughness map)

Without scratches. (the additional imperfections are due to the roughness map)

Here is the scratch texture generator itself. It utilizes geometry nodes to generate the textures.

Here is the scratch texture generator itself. It utilizes geometry nodes to generate the textures.

With this setup apart from generating greyscale textures you can also make accurate normal maps as well.

With this setup apart from generating greyscale textures you can also make accurate normal maps as well.

My custom node group also supports iridescence to give a bit of extra realism to the imperfections.

My custom node group also supports iridescence to give a bit of extra realism to the imperfections.

I also created a custom node group that has some pre made textures loaded, and makes applying the scratches much more user friendly.

I also created a custom node group that has some pre made textures loaded, and makes applying the scratches much more user friendly.

The rotation value pre scratch is used to accurately control the anisotropic rotation of the Principled BSDF.

The rotation value pre scratch is used to accurately control the anisotropic rotation of the Principled BSDF.

A subtle difference, but if you are going for detail, then this does add to the texture.

A subtle difference, but if you are going for detail, then this does add to the texture.