Hello!
We are having some issues using aiStandardSurface shader and aiToon shader connected within a aiSwitch.
The problem is that connecting the aiToon to the aiSwitch, the aiStandardSurfaces shaders becomes flat, even without selected the aiToon's index in the aiSwitch shader.
Whenever i disconnect the aiToon shader from the aiSwitch, the aiStandardSurface become as normal.
I've attached a Maya scene as example.
Thank you very much!
Let me know if you need futher info.aitoonissue.zip
Standard Surface returns a closure, and toon returns a color. So you cannot connect them both to the switch node.
A closure is not a color.
https://arnoldsupport.com/2017/10/26/mtoa-the-case-of-the-layeredtexture-and-arnold-5-closures/