UDIM / UV Tile Masking in Cycles Nodes?

Hi,

I am able to use the UDIM maps in Cycles.
However, I want to color correct only one of the tiles.
Is this possible?

Currently, it affects all of the UDIM tiles.

Regards,
Ben

Hello! I guess you would need a UDIM mask, meaning a black image for every UDIM you don’t want to correct and a white one for the one you need to correct, connected to the color correction node factor.
Haven’t tried it myself but it should work.
Cheers!

@Strangerman
Ah gotcha. That does make sense but I think it is somewhat a band-aid solution.
For example, if I’m have 5 UDIM tiles. And I need to color correct them in a different way, hypothetically.
It would require an additional 25 maps (5 x 5) just to isolate all of them individually.

I was wondering if there is a native way of doing it.

1 Like

Well, yes, it is a band-aid. I haven’t played much myself with UDIM images in blender but you are right, there should be a UDIM mask node to generate those masks procedurally on the fly. I wonder if there is something like that already, as I said I haven’t tinkered with UDIM in blender yet.

1 Like

I would duplicate the material, apply the colour correction to it and then apply it exclusively to the mesh you want colour corrected.
Band-Aid, but works without wasting too much resources.

@Stranger

No worries. Hopefully someone chimes with the same problem

@Romanji

RE: duplicate the material

One of the selling point using UDIM is not to duplicate the material.

RE: then apply it exclusively to the mesh
I only have one mesh with multiple UDIM so I can’t freely do this.

Yes you can select all the faces on that specific UDIM tile that you wish to colour correct, and apply the duplicated colour corrected material to it. That’s not really a problem, or you are stuck with your uniform UDIM that you can only change as a whole.
The easiest solution is to simply load the image into Photoshop/Gimp and do the colour correction there and that’s actually what I would recommend - don’t waste any more time with it.

@Romanji

RE: select all the faces on that specific UDIM tile that you wish to colour correct
Ah gotcha. I see what you mean. But again, I don’t want to manage duplicate materials since they are inherently the same material except for one little to color correct.

RE: The easiest solution is to simply load the image into Photoshop/Gimp and do the colour correction
It’s not sustainable for easy back and forth of revisions. And using external programs to color correct maps is honestly a thing of a past for me.

Thanks for the responses!

I do see the problem, I agree it’s annoying, but as a matter of fact there are no other comfortable options available.

1 Like

Is this correction you want to make possible in texture paint mode? If it is you just need to select the part you need to correct and use it as a mask. Of course it will depend on the correction you want to make.