3
$\begingroup$

I'm making a sun and I would like it to be a mix of colors - such that every face has a different color, like on a ColorRamp. So, I want the final thing instead of just being a flat orange color to also have some reds and yellows merging in with the orange so it's an array of different colors. How can I do this in Cycles, by using the node editor?

$\endgroup$

migrated from stackoverflow.com Dec 15 '14 at 14:39

This question came from our site for professional and enthusiast programmers.

  • 1
    $\begingroup$ Is it possible you could upload some kind of mockup or reference image showing what you want? $\endgroup$ – gandalf3 Dec 15 '14 at 20:25
6
$\begingroup$

While you can assign a different material to each face on your model, I don't think that will give the result you want. I expect you want to use some noise to get colour variations, one way is to feed the noise into a colour ramp node.

enter image description here

enter image description here

There are other noise textures such as wave, voronoi, musgrave or magic that can give varying results, you may even want to mix a couple together. Just experiment with the scale, distortion and detail values to get a variation that you like.

$\endgroup$
  • $\begingroup$ It needs some kind of mapping coordinates in order for this to work. $\endgroup$ – PGmath Dec 15 '14 at 15:47
  • $\begingroup$ By default you get generated texture coordinates, if that doesn't give the desired result you can add a texture coordinates node to choose other coordinates and add a mapping node for adjustment if you want more control. $\endgroup$ – sambler Dec 16 '14 at 11:16
  • $\begingroup$ This one works great for me. I experimented with magic and wave to get what I wanted. Thanks @sambler $\endgroup$ – Chickenator Dec 29 '14 at 8:56

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.