Hey all, I'm very new to Houdini and had an idea I wanted to test, I realize it's not as original as it could be but it's the foundation to a much larger kernel of a plan.
I want to base the color of an object on its position, I saw the tutorial that had
if (@P.y > 0){
@Cd = set(0,1,0)
};
etc. but how can I set it to where the color is identified by the position?
IE: If the object is at .5, 1, .2 then the colors will be at .5, 1, and .2?