0
$\begingroup$

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

$\endgroup$
  • $\begingroup$ To have something similar to bottom pic requires much densier mesh then default cube. $\endgroup$ – Serge L Sep 16 at 21:54
  • 2
    $\begingroup$ Maybe use a shader, mapping object-space XYZ to RGB as suggested here? $\endgroup$ – Robin Betts Sep 16 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 at 17:14
1
$\begingroup$

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?

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

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.