It is about MAYA 2018. I would like to use the function of "trace_set", but even if I enter it into the visibility of MAYA 's shape attributes it will not be reflected in the shader well. Please tell me how to enter the correct data.
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
There's no trace_set shader exposed in Maya, so setting trace sets on objects won't do anything.
Shaders like Standard Surface don't support trace sets.
Thank you for answering.
Sorry, my question was short of explanation. I am creating a custom shader that works with mtoa. So, I'd like to use "trace_set" to output AOV that passes a specific shape with my shader.
The shader can create it by looking at the tutorial, but I asked because I do not know how to properly set "trace_set" data in MAYA's AttributesEditor.
If there is a person who understands please tell me.
kick -info polymesh.trace_sets node: polymesh param: trace_sets type: STRING[] default: (empty)
The trace_sets parameter is just an array of strings.
If you want shapes to be in the same trace set, then you put the same string (eg "refl") in the trace_sets parameter of each shape.
Thank you Stephen.
I did not know how to use kick. By checking the data entered in AttributesEditor of MAYA with kick, we found out the correct data setting method.
Thanks "trace_set" is functioning without problems.
Again, thank you for answering.