# Setting opacity of Opaque Material

**URL:** <https://forums.unrealengine.com/t/setting-opacity-of-opaque-material/446165>\
**Category:** Rendering\
**Tags:** translucent, opacity, unreal-engine, UE4, Blueprint, question\
**Created:** [March 28, 2019, 12:54pm UTC](https://forums.unrealengine.com/t/setting-opacity-of-opaque-material/446165 "2019-03-28T12:54:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![OniricMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OniricMaster](https://forums.unrealengine.com/u/OniricMaster)\
**Post date:** [March 28, 2019, 12:54pm UTC](https://forums.unrealengine.com/t/setting-opacity-of-opaque-material/446165/1 "2019-03-28T12:54:23Z")

</div>

Hello, I made a simple blueprint that reduces the opacity of a material if the player is standing in front, this worked fine but now that i’m implementing assets that already have materials I have arrived at a problem.  
These materials aren’t Translucent so the Opacity is not enabled. I was wondering what would be a workaround for this?

This is the blueprint that controls the opacity of the material.

 ![272641-material-opacity.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/0/120ca3e3b916d8deb7cca504f0c8619269b86e8a.png)

---

<div class="post-metadata">

**Author:** ![OniricMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OniricMaster](https://forums.unrealengine.com/u/OniricMaster)\
**Post date:** [March 28, 2019, 1:19pm UTC](https://forums.unrealengine.com/t/setting-opacity-of-opaque-material/446165/2 "2019-03-28T13:19:27Z")

</div>

Nvm, I found the solution by changing the mesh blend mode to Masked and then setting the scalar parameter —\> DitherTmportalAA —\> Opacity Mask.

---

<div class="post-metadata">

**Author:** ![Reondela](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reondela](https://forums.unrealengine.com/u/Reondela)\
**Post date:** [May 4, 2021, 8:31pm UTC](https://forums.unrealengine.com/t/setting-opacity-of-opaque-material/446165/3 "2021-05-04T20:31:46Z")

</div>

Omg, this trick saved my life \<3

---

<div class="post-metadata">

**Author:** ![Batche](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Batche](https://forums.unrealengine.com/u/Batche)\
**Post date:** [May 17, 2022, 1:54pm UTC](https://forums.unrealengine.com/t/setting-opacity-of-opaque-material/446165/4 "2022-05-17T13:54:47Z")

</div>

Thanks man!!! Nice trick, way better than I expected in terms of style 🙂

---

<div class="post-metadata">

**Author:** ![baryafe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@baryafe](https://forums.unrealengine.com/u/baryafe)\
**Post date:** [May 20, 2026, 1:11pm UTC](https://forums.unrealengine.com/t/setting-opacity-of-opaque-material/446165/5 "2026-05-20T13:11:48Z")

</div>

> [@OniricMaster](#):
>
> DitherTmportalAA

what does the randomness pin do?
