I am trying to color the vertex points of a octahedron and want to have control over how they blend into each other. I am using a mapping node but am not able to achieve the desired result.

The image below shows the desired effect, however it was created with lights.

enter image description here

  • $\begingroup$ To have something similar to bottom pic requires much densier mesh then default cube. $\endgroup$
    – Serge L
    Sep 16, 2019 at 21:54
  • 2
    $\begingroup$ Maybe use a shader, mapping object-space XYZ to RGB as suggested here? $\endgroup$
    – Robin Betts
    Sep 16, 2019 at 23:27
  • $\begingroup$ The effect you want is nearly what is shown in the answer below (as the final result may depend on world global light intensity). Or a variation on it or using object texture coordinates as suggested by @RobinBetts. So what do you expect exactly, and in particular about "controlling" the colors? $\endgroup$
    – lemon
    Sep 18, 2019 at 17:14

1 Answer 1


It seems like your UV mapping is off; using a similar setup and a default cube, I'm getting this result:

enter image description here

You can also achieve what you're trying to do using vertex colors:

enter image description here

Also see: How can vertex paint be rendered?

  • $\begingroup$ hey bryan: what do you mean with my UV mapping is off? And how do I fix it? $\endgroup$ Sep 19, 2019 at 19:45

You must log in to answer this question.

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