Community
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.
By the way, how can I get 3ds max custom attributes, I used the following method, but it didn't work.
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.