ucupumar / ucupaint

Ucupaint is Blender addon to manage texture layers for Eevee and Cycles renderer.
GNU General Public License v3.0
874 stars 31 forks source link

Texture ID Mask #92

Open abhijeetrnjn3d opened 4 months ago

abhijeetrnjn3d commented 4 months ago

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

ucupumar commented 4 months ago

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

abhijeetrnjn3d commented 4 months ago

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

ucupumar commented 4 months ago

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.

abhijeetrnjn3d commented 4 months ago

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