We found an issue with custom aovs that we are adding inside the material builder. When having the same aov name in more than one shader they are added to each other.
Some of the images are not loading but from the description, I can understand the query.
When having the same aov namein more than one shader they are added to each other.
This is actually the expected behavior - if you have textures from different materials going to the same AOV, they’ll be added one over the other. I have an idea how we can go about improving things - I’ll ping you with more info later today.
Hi @Gosho.Genchev !
I think it was not like this before though. At least not in vray4.
What is an issue for us is that we are adding those extra aovs in the lookdev assets. Then when we have multiple instances of that asset the values of the aov changes.
So having one instance of it it look as we want. Having two the values in the aov are doubled for both assets. Three assets = three time the value etc.
> I think it was not like this before though. At least not in vray4.
This was always like this. Please, just write how do you expect this to be written, because I’ve no idea how to write 2 different shaders in the same render element otherwise.
> I will try this on an earlier version of Vray as Im pretty sure this was working before.
This was never working like you explained; AOV feature is limited to the way ExtraTex render element works.
I’ll check if I could generate PatternID texture internally to make it work like you want.
We had this “issue” a couple of months ago too, we had aov in a shader that we needed to export and that asset was copied a couple of times so the aov was not exporting uniquely for each asset, I ended up appending the name of each asset to the aov name.
The shader/texture aov could behave in a way that it would export only for the geometry the material is assigned to, maybe add a toggle for that in the material AOV.
But not chaging the overall extratex behaviour, if the extratex is used as a general AOV inside the elements it should still works as it does now. I know this is obvious, but sometimes when you guys alter a functionality of something you tend to break its functionality somewhere else, sorry.