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: 

Shader custom AOV

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
teddude75
1905 Views, 8 Replies

Shader custom AOV

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?
Tags (2)
Labels (2)
8 REPLIES 8
Message 2 of 9
teddude75
in reply to: teddude75

I got it to work with LPE's. ("C'hair".*) is the key

Message 3 of 9
sylvain.salame
in reply to: teddude75

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.

Message 4 of 9
teddude75
in reply to: teddude75

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

Message 5 of 9
Anonymous
in reply to: teddude75

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']>.*

Message 6 of 9
teddude75
in reply to: teddude75

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

Message 7 of 9
Anonymous
in reply to: teddude75

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 ?

Message 8 of 9
teddude75
in reply to: teddude75

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.

Message 9 of 9
sulkybunny
in reply to: teddude75

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?

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

Post to forums  

Autodesk Design & Make Report