1
$\begingroup$

First of all, here is an example picture of how the effect looks (source: http://marksteinmetz.photoshelter.com/image/I0000OqcTcB07acQ):

enter image description here

This is different from the usual rust texture in that the gold (or other precious metal vein) is somewhat continuous and not just randomly distributed over the (volume of the) rock.

It would be nice to be able to somehow procedurally generate this texture with a percentage of gold content (e.g., 0%-100%) and take two inputs:

  1. One for the gold texture
  2. One for the rock texture

..., mixing the two procedurally based on a percentage ratio as previous explained.

Even a surface texture version of this would be greatly appreciated. I tried searching, but can't find anything that produces an effect similar to what is show in the picture (displacement aside, but would be a great bonus).

$\endgroup$
2
  • 2
    $\begingroup$ Did you tried something so far or do you want someone make it for you? $\endgroup$
    – cgslav
    Commented Aug 5, 2017 at 15:08
  • $\begingroup$ Sometimes, you try but come up with such ugly attempts that you are too embarrassed to share them. $\endgroup$ Commented Aug 14, 2017 at 20:28

1 Answer 1

2
$\begingroup$

Just use a texture to determine the mix between two shaders

enter image description here

Adding a color ramp (or RGB curves would work as well) you can control how the texture affects the mix.

enter image description here

$\endgroup$
3
  • $\begingroup$ While I haven't personally done it, I have seen tutorials that use vertex painting as input to the node system - so I am reasonably confident that if you want more specific control over where the gold goes, you could paint onto your mesh and then pass that through in much the same way. $\endgroup$
    – Ben
    Commented Aug 6, 2017 at 3:59
  • $\begingroup$ Can this impact volume as well for a 3d penetrating look of the veins through either SSS or transparent materials? $\endgroup$ Commented Aug 14, 2017 at 20:26
  • $\begingroup$ you can make this work with any shader, the idea is to show you that you can use textures to determine how to mix shaders. You can make the shader as complicated as you want. $\endgroup$
    – user1853
    Commented Aug 15, 2017 at 2:38

You must log in to answer this question.

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