Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use user data to get uv channel color

1 REPLY 1
Reply
Message 1 of 2
luotianyishiwolaopo
247 Views, 1 Reply

How to use user data to get uv channel color

When I use user data and the attribute is uv_3, the b channel cannot be obtained. The figure below is a comparison of my use of uvw channel osl and user data.8382-qq截图20201011120348.jpg

By the way, how can I get 3ds max custom attributes, I used the following method, but it didn't work.8383-qq截图20201011121109.jpg



卢家洛
环境艺术家
我的bilibili





Tags (1)
Labels (1)
1 REPLY 1
Message 2 of 2
madsd
in reply to: luotianyishiwolaopo

The user data nodes have been broken on the .z axis for some time. No data is parsed on the 3rd component.

OSL works fine.


For user properties, you are feeding in a value of 3, which is slot 3, which is the red, as the array starts at 0. So just +1 to your array and it whould work fine. Else tell if that wont fix it.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report