# \[Help\] Sampling a virtual textures is currently not supported when connected to the Opacity Mask material attribute

**URL:** <https://forums.unrealengine.com/t/help-sampling-a-virtual-textures-is-currently-not-supported-when-connected-to-the-opacity-mask-material-attribute/473754>\
**Category:** Asset Creation\
**Tags:** error, error-compile, opacity, unreal-engine, question\
**Created:** [October 30, 2020, 5:10pm UTC](https://forums.unrealengine.com/t/help-sampling-a-virtual-textures-is-currently-not-supported-when-connected-to-the-opacity-mask-material-attribute/473754 "2020-10-30T17:10:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TWCOAO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TWCOAO](https://forums.unrealengine.com/u/TWCOAO)\
**Post date:** [October 30, 2020, 5:10pm UTC](https://forums.unrealengine.com/t/help-sampling-a-virtual-textures-is-currently-not-supported-when-connected-to-the-opacity-mask-material-attribute/473754/1 "2020-10-30T17:10:19Z")

</div>

Hi, Im new in UE4, have a big problem while I connected to opacity channel, log showed up error message:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/5/e8526fd02e6425ae18b7a726d838aaf71bd339ed.png)

**^^[SM5] Sampling a virtual textures is currently not supported when connected to the Opacity Mask material attribute^^**

Mask sample type was set to Virtual Linear Colour as well as ticked off sRGB. I literally don’t know what I did wrong…

Please advise!!!

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [October 30, 2020, 5:32pm UTC](https://forums.unrealengine.com/t/help-sampling-a-virtual-textures-is-currently-not-supported-when-connected-to-the-opacity-mask-material-attribute/473754/2 "2020-10-30T17:32:07Z")

</div>

I’m not amazing with the material editor, but I suspect it may simply mean that it doesn’t like that extra pin plugged into the grayed out “opacity mask” option.

---

<div class="post-metadata">

**Author:** ![TWCOAO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TWCOAO](https://forums.unrealengine.com/u/TWCOAO)\
**Post date:** [October 30, 2020, 7:07pm UTC](https://forums.unrealengine.com/t/help-sampling-a-virtual-textures-is-currently-not-supported-when-connected-to-the-opacity-mask-material-attribute/473754/3 "2020-10-30T19:07:13Z")

</div>

I tried to plug a single texture sample and it works. But the error came up when I used virtual texture. Properly opacity map simply not support virtual texture?

---

<div class="post-metadata">

**Author:** ![darckfood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darckfood](https://forums.unrealengine.com/u/darckfood)\
**Post date:** [February 1, 2021, 9:10pm UTC](https://forums.unrealengine.com/t/help-sampling-a-virtual-textures-is-currently-not-supported-when-connected-to-the-opacity-mask-material-attribute/473754/4 "2021-02-01T21:10:02Z")

</div>

I have the same probleme. Im trying to use UDIM map, but its not working. If i put to alpha channel and after this i use into opacity its just crashing my UE4
