Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

aiuserdata gives default value all the time

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
quentin.lequenne
248 Views, 2 Replies

aiuserdata gives default value all the time

Hi everyone,

i'm student and i try to make my own textures, so i'm new to this.

I try to use the aiuserdata to switch color on different objects with the same shader (like here:

https://docs.arnoldrenderer.com/display/AFMUG/Ai+UserData+Shaders#AiUserDataShaders-AiUserDataColor) but it renders the default value of my aiuserdatafloat/aiuserdatacolor everytime, even if I follow every step of the documentation.

And the Extra Attributes i create appears in Shader_sphere, not in Shader_sphereShape as shown in the docs. Someone knows why ?

I'm using student version of Maya 2019 with MtoA 3.1.2

Thanks !

Tags (1)
Labels (1)
2 REPLIES 2
Message 2 of 3

You have to add the mtoa_constant attribute to the shape node



// Stephen Blair
// Arnold Renderer Support
Message 3 of 3

Thanks @Stephen Blair, with a search on shape nodes, i found the problem and that works !

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

Post to forums  

Autodesk Design & Make Report