vraymtlwrapper and reflection pass problem

Hello,
I’m rendering (max2016 + vray 3.30.05) a can on a floor. I need the shadow and the reflection of the can on the floor separately so I assign a vraymtlwrapper on the floor with matte surface ON, matte ref/refr ON, Alpha contribution -1, shadow ON, affect alpha ON, reflection amount 1.

the rgb color is the one I was expecting, ie with reflection and shadows without the floor. The vrayshadow pass too, I have shadows on the floor I can isolate.

But the vrayreflection pass isn’t; it doesn’t show the reflection on the floor, only of the can itself.

I’m sure I’m doing something wrong but I can not find where I’m wrong.
Thank you for your help,
Pierre

Hi, try unchecking affect reflection/refraction
edit, also check if your base mat is vraymat

Thank you Tambyra for your answer.
My base material is a vraymat with just full reflection.
I try unckecking “matte for refl/refr” option but it doesn’t change the vrayreflection pass. Still black.
I don’t understand why. missing something

can someone help me? Or give me an idea ?
Thank you !

+1 i would like to know too

Would it be possible to attach the scene so we could see the setup that you are using?

Hello,
Here is the file,
Thank you !
bottle.zip (50.2 KB)

Thank you very much for the scene.
This is how the reflections of the matte objects are handled for the moment, they are rendered only in Beauty Pass not in Reflection element.
We have a note about that into our system as a feature request but we are not able to provide any time frames for its implementation.

Ok thank you.
Do you have an idea of how I can do to isolate the reflection of the can on the floor?
I have a new job with a lot of objects I need to isolate.
Thank you
Pierre

You could do that a number of ways but all of them will require two render passes.
One way to extract the reflections would be to render the matte-surface like you normally do and then do another render with Reflection Amount set to 0.

Then the difference between those two images(with Reflection amount set to 1 and Reflection amount set to 0) will give you exact the Reflections of the can on the floor.

Another option you could try and might work on a single pass is to rebuild the image from its render elements and then to subtract that result from Beauty Pass.
Since the only difference between the beauty and the composed result are the matte-reflections, the result should holds only the reflection of the can over the floor.

Thank you for your answer and your advice ! I was thinking the same but I have to deliver 150 packs with the reflection and the shadow isolated so it has to be fast.
I will compare with rendermask to see if it’s not faster.

Any update on this? it seems very odd that the reflection of a Matte material is ignored in the reflection pass. Is this something which will be corrected at some point?

Just following up on this, what’s that…7 years later. Any news.

The reflection of the wrapper should be in the reflection or spec pass?

Have you disabled “Matte for refl/refr”? Seems to work on a simple scene.

I don’t see a ‘Matte for refl/refr’ check box in Maya?

Ah, you are in Maya. It seems that that option is off by default (need to ask the devs why). Here’s a sample scene, where the matte reflection is visible in the respective elements.
sample_matte_refl.7z (11.2 KB)

Cool, thanks for taking a look and your scene.

I’ve made the floor reflective, but the reflection doesn’t show in the refl or spec pass?



Oh, pardon. I thought you were referring to the reflection (of the matte) in the Sphere, not the other way around. I’ll do some testing and report back.

Ah, I see, no worries.

Basically we’re after the wrapper to show up in all relevant passes, or as a totally separate pass.