# Vray Layered Texture not working properly / "overlay" blend mode is still additive (instead of doing standard mask compositing)

**URL:** <https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216>\
**Category:** Issues\
**Created:** [February 7, 2020, 7:14pm UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216 "2020-02-07T19:14:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![BeneZ](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@BeneZ](https://forums.chaos.com/u/BeneZ)\
**Post date:** [February 7, 2020, 7:14pm UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/1 "2020-02-07T19:14:39Z")

</div>

Hello,  
I am blending textures with Alpha.  
When I use Vray Layered Texture with “normal” or “overlay” they still light each other up.  
I am looking for a simple masking mode.  
(input Mask used, Opacity was even worse)

When I use Maya Layered Texture for the same task, I don’t have this issue at all.  
What’s different here?

Thanks!

p.s. I have quite often trouble with VrayLayeredTexture in Maya 2019.2. Sometimes it doesn’t react at all and I switch to MayaLayeredTexture

BTW:  
It would be really great, if the Layers of the VrayLayeredTexture node would display big and clear the name of the input node (not only when hovering with the mouse over it) 🙂  
Often for debugging in complicated networks this would be a great help instead of only seing “layer 0” / “layer1” / “layer2” …

 ![.jpg.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/b/b/bb6fb21d5153a88eb534f3381059dd139d27bbcb.jpeg)

---

<div class="post-metadata">

**Author:** ![nikolay.kusht](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/nikolay.kusht/32/8288_2.png) [@nikolay.kusht](https://forums.chaos.com/u/nikolay.kusht)\
**Post date:** [February 20, 2020, 3:28pm UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/2 "2020-02-20T15:28:19Z")

</div>

From my tests, the Overlay works correctly with a simple checker or image file. Is it possible to send us a test scene so we could try to reproduce the issue? Also, are you using procedural textures?

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [February 21, 2020, 3:27pm UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/3 "2020-02-21T15:27:33Z")

</div>

The overlay mode should do the same as in other applications like Photoshop, Nuke, etc where the same blend modes are used.  
I can’t really tell without a scene if something’s wrong, as Nikolay pointed out - send a scene if possible.

> [@BeneZ](#):
>
> It would be really great, if the Layers of the VrayLayeredTexture node would display big and clear the name of the input node (not only when hovering with the mouse over it) 🙂  
> Often for debugging in complicated networks this would be a great help instead of only seing “layer 0” / “layer1” / “layer2” …

Do you mean to just make the layer name text bigger? We are a bit limited to what Maya allows in this particular UI layout.  
Apart from that, we have some improvements in mind for the layered tex, but we need to finish other things before we get there.

---

<div class="post-metadata">

**Author:** ![BeneZ](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@BeneZ](https://forums.chaos.com/u/BeneZ)\
**Post date:** [February 22, 2020, 4:56pm UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/4 "2020-02-22T16:56:12Z")

</div>

Thanks for reply!

@nikolay.kusht I will look once if I can find the scene and maybe narrow it down and send it

@yolov With naming: Currently it displays:  
Layers (0)  
Layers (1)

It would be great if it displays  
Layer (0 / “name of the incoming node”)  
Layer (1/ “name of the incoming node”)

If the Nodes are properly named it helps to read at a glance, what inputs were mixed inside the node, especially when the nodes were collapsed.  
The hover over help menu is very slow and with many inputs it’s not giving a overview.

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [February 24, 2020, 3:23pm UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/5 "2020-02-24T15:23:21Z")

</div>

I’m not sure what you mean by the ‘hover over’ menu, can you elaborate?  
As for layer names - I don’t know what we can do about renaming them, but we’ll look into it.

---

<div class="post-metadata">

**Author:** ![Karol.Osinski](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/karol.osinski/32/40361_2.png) [@Karol.Osinski](https://forums.chaos.com/u/Karol.Osinski)\
**Post date:** [February 25, 2020, 7:54am UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/6 "2020-02-25T07:54:31Z")

</div>

Having a.possibility to rename individual layers like in 3ds max would be super handy.  
Plus maybe viewport 2.0 support at some point. When I create materials at work I am often forced to use maya native latered texture node only because V-Ray one renders black in viewport, thus other less experienced collegues in studio are confused when they see it.

---

<div class="post-metadata">

**Author:** ![BeneZ](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@BeneZ](https://forums.chaos.com/u/BeneZ)\
**Post date:** [February 25, 2020, 10:20am UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/7 "2020-02-25T10:20:24Z")

</div>

Yes, I agree also to the black viewport displaying problem, which is indeed the second downside of VrayLayeredTexture…

I have some scenes completely black in viewport (where it is even better to display them only as default material in grey, to be able to see anything).  
In order to find out what has been my „failure“ above, I had to render the scene, whereas the MayaLayeredTex could be controlled instantly in the viewport.  
Although the vrayLayeredTex is really much nicer and has more capabilities, this display issue often also me forcing to switch to the older MayaLayeredTex.

I added already a feature request for this topic, have a look there and add your „like“ there 🙂

---

<div class="post-metadata">

**Author:** ![yolov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/yolov/32/11920_2.png) [@yolov](https://forums.chaos.com/u/yolov)\
**Post date:** [February 25, 2020, 3:20pm UTC](https://forums.chaos.com/t/vray-layered-texture-not-working-properly-overlay-blend-mode-is-still-additive-instead-of-doing-standard-mask-compositing/97216/8 "2020-02-25T15:20:14Z")

</div>

> [@BeneZ](#):
>
> Hello,
> 
> 1.)  
> I had a look into my last file: Maybe I found the issue:  
> I have put a mask into OPACITY instead of MASK.  
> (I don’t know which is the difference, because when I want to make somehting more transparent I thought to put a mask into Opacity isn’t wrong)  
> So I know now I will only use “Mask”.  
> The Opacity input does not react at all when I plug my mask into it.  
> What is the purpose of the checker icon input of Opacity?

That’s some of the things we’ll improve in the near future 🙂  
Opacity is simply the \*strength\* of the layer. It’s called that in other applications and we just left the name ‘temporarily’. We’ll need to change it to something more meaningful … like \*strength\*, but if you have other suggestions, please share.  
The checker icon needs to disappear - this parameter cannot be mapped. Another option would be to completely remove it or merge it with the ‘mask’ somehow.

> [@BeneZ](#):
>
> 2.)  
> I realized that there is only for the “Maya Layered Texture” node a small (hard readable) message, displayed with black typo, when I go with the mouse over the input node icons.  
> In the VrayLayeredTexture there is no information.
> 
> I attached screenshots again.  
> Many thanks for looking 🙂

Ah, thanks for clearing this one up. We’ll see how we can add some hint to the connected texture.
