How to colorize particles based on x-position? - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: How to colorize particles based on x-position? (/thread-4088.html) |
How to colorize particles based on x-position? - Mnietek - 02-08-2024 How to colorize particles based on x-position? I try with Custom properties operator and Mapping operator. And this work for particles which x-pos is greater than 0: Why doesn't it work for X<0? RE: How to colorize particles based on x-position? - tyFlow - 02-08-2024 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. RE: How to colorize particles based on x-position? - Mnietek - 02-08-2024 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... |