検索 - User list
Full Version: Affect only one UDIM using MTLX
Root » Solaris and Karma » Affect only one UDIM using MTLX
Debrumaire
Hi everyone !

I'm a begginer using mtlx, and I couldn't find how to affect only one udim using mtlx.

In the image attached, you can see that my texture map (which is on UDIM 1042), is naturally applied to all the other UDIMs.

Is it possible to "target" only one UDIM for our operations ? Or simply use a texture that will only be accessed by one UDIM ?

tamte
you are loading specific file without specifying the <UDIM> token, therefore it will load it for all geo within uv tile 0,0-1,1 (UDIM 1001) and since it's set to "periodic" it will repeat for all tiles, essentially non-UDIM workflow

if you want your file to be loaded based on corresponding UDIM number you have to use <UDIM> token instead of 1042 in your filename
therefore it will be loaded only for UDIM 1042
Debrumaire
Thank you for your answer !

Yeah I tried not to use the <UDIM> token because I have other textures in sequence with this one and I wanted to use only this texture on UDIM 1042 but it seems that's not how it's supposed to be done.
tamte
Debrumaire
Thank you for your answer !

Yeah I tried not to use the <UDIM> token because I have other textures in sequence with this one and I wanted to use only this texture on UDIM 1042 but it seems that's not how it's supposed to be done.
if you have your "Emissive" textures for other UDIMs that you don't want to be used you can probably use MtlX UDIM Patch node, and compare it to 1042 using equal and multiply your texture, which will make sure that for all other UDIMs it's black

similarly you can use this technique if you want to change color of your emissive layer for eyes and differently for the top of the head, etc

in this case if you really just need 1042 you could probably keep reading just 1042 texture without <UDIM> token as you originally had it, since it'd be a waste to read other UDIMs just to multiply them by 0
Debrumaire
Oooooh got it !

Thanks for the technique ! It works perfectly !
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB