Don't use a custom vector for this - use a custom float (there should be a 'position X' property available).
When you normalize a vector you're normalizing its length, which won't get rid of the negative values, leading to the unexpected result.
02-08-2024, 04:06 PM
(This post was last modified: 02-08-2024, 04:12 PM by Mnietek.)
Thanks - that way is better.
But what values should I use as normalize values?
I try with min and max values of particles X-pos but can't get gradient from white to black...
Ok - i thing this is a v-ray problem.
When I set SubChannel to All in Vertex Color map every thing is OK.
Proviously that was set to Red subchannel...