Computing a scalar from UV coordinates in Cycles nodes I have a .obj mesh loaded with given UV coordinates. I'd like to color the mesh using its UV coordinates, similarly to this image. I think the correct way is to first compute a scalar out of the uv coordinates, something like u*v, and then connect that scalar to the hue value of a HSV node. Thing is, I don't know which module can I use to take the UV Map's output and turn it into a scalar.
You can get the UV coordinates from a Texture Coordinates or from an Attribute Node, separate the three components of the vector using a Separate RGB node, and use this to map colors to your BSDF.