Layer Shader does not accept input

Layer Shader does not accept input

VictorvdBrink
Enthusiast Enthusiast
1,092 Views
3 Replies
Message 1 of 4

Layer Shader does not accept input

VictorvdBrink
Enthusiast
Enthusiast

I'm following this tutorial by Nextut for making a layered glass material. 


But for some reason when it comes to using the aiLayerShader, it doesn't allow me to input any previously made aiStandardSurface. Which is clearly what is done in the video. 

I made a small gif showcasing the problem. 


If anyone could help me out, I'd really appreciate it. Thanks alot in advance. 




0 Likes
Accepted solutions (1)
1,093 Views
3 Replies
Replies (3)
Message 2 of 4

Stephen.Blair
Community Manager
Community Manager
Accepted solution

Don't drag to the text box. Drag to the label. You'll an outline around both the label and text box.

 



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 4

rachid_1
Advocate
Advocate

That's because NEaiLayerShaderTemplate.xml is missing from ...MtoA\maya2024\scripts\mtoa\ui\templates.
So just copy/past this file where you installed  ...MtoA\maya2024\scripts\mtoa\ui\templates.
or add a variable to maya.env file and point to the xml file
MAYA_CUSTOM_TEMPLATE_PATH = point to xml.file

aiLayerShader.jpg
Hope this help!

0 Likes
Message 4 of 4

VictorvdBrink
Enthusiast
Enthusiast

Yup...

That's a really dumb and small detail that is a huge UI oversight on Autodesk's part if you ask me. 

But it works now. Thank you very much. 

0 Likes