# VRayMtlWrapper not supported?

**URL:** <https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578>\
**Category:** Issues\
**Created:** [May 17, 2025, 8:17pm UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578 "2025-05-17T20:17:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonasNoll](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/jonasnoll/32/4423_2.png) [@JonasNoll](https://forums.chaos.com/u/JonasNoll)\
**Post date:** [May 17, 2025, 8:17pm UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578/1 "2025-05-17T20:17:08Z")

</div>

Hi,

according to this list ([V-Ray for 3ds Max](https://docs.chaos.com/display/VMAX/V-Ray+GPU+Supported+Features)) the VRayMtlWrapper material should be supported in GPU mode. However it seems that the Matte properties have no effect. In CPU mode it works without issues.  
Is that a bug?

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [May 19, 2025, 6:13am UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578/2 "2025-05-19T06:13:05Z")

</div>

Mind if you attach a sample scene so we can have a look?

---

<div class="post-metadata">

**Author:** ![JonasNoll](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/jonasnoll/32/4423_2.png) [@JonasNoll](https://forums.chaos.com/u/JonasNoll)\
**Post date:** [May 19, 2025, 8:33am UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578/3 "2025-05-19T08:33:27Z")

</div>

Hi,

there are 2 issues:

1. The Matte doesn’t work unless the AlphaContribution is between -0.9 and -1. Anything apart from those values will make matte properties to not work.  
2. If the AlphaContribution is between -0,9 and -1 AND in the BaseMtl is anything else than a VRayMtl (for example a VRayBlendMtl) it will make it matte BUT the shadow options don’t work.

So the only way to have the VRayMtlWrapper work in GPU mode is to have an AlphaContribution between -0,9 and -1 AND use a VRayMtl as the BaseMtl.  
CPU doesn’t have any of those issues.

I attached you a sample scene.

Best,  
Jonas  
[matte.zip](https://forums.chaos.com/uploads/short-url/eXbNCWlORNwt74lHfGprrrCQK5z.zip) (75.9 KB)

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [May 19, 2025, 8:52am UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578/4 "2025-05-19T08:52:56Z")

</div>

1. In GPU, only Alpha Contribution -1 (Matte must be active) ̶a̶n̶d̶ ̶1̶ ̶a̶r̶e̶ ̶s̶u̶p̶p̶o̶r̶t̶e̶d̶. Decimal values, one and zero, are not. This is already logged (internal tracker ID: VGPU-2828 ).  
2. I can reproduce this and will log it (logged as internal tracker ID: VGPU-6815). Is there a specific reason to use a VRayBlendMtl for the shadow catcher?

---

<div class="post-metadata">

**Author:** ![JonasNoll](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/jonasnoll/32/4423_2.png) [@JonasNoll](https://forums.chaos.com/u/JonasNoll)\
**Post date:** [May 19, 2025, 9:03am UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578/5 "2025-05-19T09:03:30Z")

</div>

HI:

1. Actually +1 also doesn’t work. Only values between -0.9 and -1 as I mentioned. You can try it out. If only -1 is supported you might want to set this value internally regardless of what value is chosen in the menu as a workaround. Otherwise it will cause confusion. I only found this out after extensive testing.  
2. I have a usecase here as I’m working on a tool/script where you can easily switch between the matte and an standard option for the floorplane and the basematerial HAS to be a VRayBlendMtl. So that’s how I noticed that.  
Is it a very common usecase? Probably not, but as said in CPU it works without issues. It might cause confusion you just want to create a matte shadow pass on your existing scene by putting a Wrapper in front of your existing material and no shadows show up.

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [May 19, 2025, 9:10am UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578/6 "2025-05-19T09:10:45Z")

</div>

> [@JonasNoll](#):
>
> 1. Actually +1 also doesn’t work. Only values between -0.9 and -1 as I mentioned. You can try it out. If only -1 is supported you might want to set this value internally regardless of what value is chosen in the menu as a workaround. Otherwise it will cause confusion. I only found this out after extensive testing.

I stand corrected, it disables the Matte. It’s better we support the whole parameter fully, rather than settings temporary defaults.

2. I have a usecase here as I’m working on a tool/script where you can easily switch between the matte and an standard option for the floorplane and the basematerial HAS to be a VRayBlendMtl. So that’s how I noticed that.  
Is it a very common usecase? Probably not, but as said in CPU it works without issues. It might cause confusion you just want to create a matte shadow pass on your existing scene by putting a Wrapper in front of your existing material and no shadows show up.[/QUOTE]

Okay. Already logged the issue (edited my previous post with the ID).

---

<div class="post-metadata">

**Author:** ![JonasNoll](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/jonasnoll/32/4423_2.png) [@JonasNoll](https://forums.chaos.com/u/JonasNoll)\
**Post date:** [May 19, 2025, 9:17am UTC](https://forums.chaos.com/t/vraymtlwrapper-not-supported/122578/7 "2025-05-19T09:17:25Z")

</div>

> [@hermit.crab](#):
>
> I stand corrected, it disables the Matte. It’s better we support the whole parameter fully, rather than settings temporary defaults.

Hi, in this case I would remove the VRayMtlWrapper from the supported materials in the GPU page alltogether in the meantime. As you default the AlphaContribution to 1 (which doesn’t work) it will just register as not supported to the average user. Since it shows as supported on the feature page I just wasted quite a bit of time to find out that it actually is not suported. Or make a note on the page itself.
