Hello, Can I make a shader a custom AOV? I have a hair shader that I want to have it's own AOV pass. I've made a custom AOV in the shader settings and in the node under shader I plug in the hair shader but I didn't get any results. I followed this link
https://support.solidangle.com/display/A5AFMUG/Custom+Motion+Vector+AOV+with+Motion+Vector+shader
that's motion vector shader. I was wondering if it's possible with any shader?Solved! Go to Solution.
Solved by teddude75. Go to Solution.
I don't understand how you got it to work. @Edward Conry
I'm using Arnold 5 (3.0.1) with Maya 2018.
Prior to Arnold 5 you just needed to plug any shaders in the custom AOV and it worked! I'm doing the exact same here but it doesn't work, I just get black, it feels related to the LPE system, but I still can't figure it out...
Only works with an aiUtility Lambert/flat but that's not what I want.
Yeah I don't know how it worked before or even now. I only got it to work with a hair shader and LPE. When I render the AOV Shader it's a matte or doesn't have shading properties. If you find the answer let me know. @Sylvain Salame
add a cutom AOV, "RGBA_hair" without quotes
for hair albedo use :C<RS'hair'>A
for hair Indirect use C<RS'hair'>[DSVOB].*
for hair Direct C<RS'hair'>L
for hair itself C<RS'hair'>.*
Unfortunately hair Specular does not work with this LPE's C<RS[^'hair']>.*
Yeah I got it work with the hair shader but what about ai Standard surface custom AOV? That's what we are talking about. @rachid Hadj Abderrahmane
if you apply aiStandardSurface to the hair, then you get all AOV working, where is the problem?
can you post a test scene with just a sphere +hair ?
Yeah I wanted to plug in any shader a get RGBA information from the shader. The hair shader works by making a custom AOV and add C'hair.* to an AOV LPE.
same confusion here... I am trying to create a custom aov with a utility shader Lambert mode on everything in my scene.. it works when u plug an AO shader into the custom AOV.. The utility shader however, returns solid frames on color mode.. can produce normal and all the other modes but color lambert.. no..
am i missing something ... a specific LPE? should i plug the Utility shader through an aiWrite aov?