ifree
Oct. 9, 2025 07:42:04
Hi, there.
I have images named img_0.png, img_1.png,...
Also, there are attribute named layer with values 0, 1, 2,...
How can I set the file name field of MTLX Image node so that the file name corresponds to layer attribute?
Hip-Freak
Oct. 9, 2025 10:23:33
Hi ifree,
here's a scene for this stuff

not from me
tamte
Oct. 9, 2025 11:03:40
or in 21 you can directly use string primvars to override filepath without creating additional materials, here is the updated file
ifree
Oct. 9, 2025 18:20:01
Thanks, Hip_freak and tamte.