ucupaint icon indicating copy to clipboard operation
ucupaint copied to clipboard

Texture ID Mask

Open abhijeetrnjn3d opened this issue 1 year ago • 4 comments

Feature request for masking with ID map baked from other texturing software or within blender.

abhijeetrnjn3d avatar Feb 27 '24 20:02 abhijeetrnjn3d

Do you have any model and the ID texture for testing? I have never used an ID map before.

ucupumar avatar Feb 28 '24 05:02 ucupumar

here is the link to the blend file: https://drive.google.com/file/d/1IHnQi4U_9V_pfJOD1BJ7KbcSPjXhpA-t/view?usp=sharing The file include the low poly, normal map and ID map baked from high poly in marmoset toolbag. I have tried multiple node setup for masking from ID map but this one works the best and gives accurate result which I have already setup for you.

Annotation 2024-02-28 124920

abhijeetrnjn3d avatar Feb 28 '24 09:02 abhijeetrnjn3d

Ok, I just checked your files, it's similar enough to how the current color id works, but the source is using vertex color. I'm thinking of adding a source option to color id mask so an image can be used.

ucupumar avatar Feb 29 '24 19:02 ucupumar

Basically, If we can mask with color selection with the help of baked id map then it's all we need. You do what you think is best suited in this case. Thankyou

abhijeetrnjn3d avatar Feb 29 '24 21:02 abhijeetrnjn3d