0

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

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

1 Answers1

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?

Bryan Green
  • 148
  • 7