# Distance to opacity curve not working

**URL:** <https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665>\
**Category:** Rendering\
**Tags:** billboard, opacity, unreal-engine, transparency, Rendering, curve, question\
**Created:** [November 7, 2016, 4:47pm UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665 "2016-11-07T16:47:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kornel.l.varga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kornel.l.varga](https://forums.unrealengine.com/u/kornel.l.varga)\
**Post date:** [November 7, 2016, 4:47pm UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665/1 "2016-11-07T16:47:57Z")

</div>

I am trying to use a MaterialBillboard within my Pawn. I have created two float curves, one for the Opacity and the other one for Size. The size curve works perfectly, while the opacity reacts to nothing.  
I have tried several things in my Material, and have searched online, but couldnt find the solution.  
things tested ( Parameter set for Opacity, Unlit/Lit, Material Instance instead of parent material )

 ![114096-screen_071116.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/6/b26c91b2be9b98b9087cedd1aefd3dba07d47308.jpeg)

---

<div class="post-metadata">

**Author:** ![Tdore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tdore](https://forums.unrealengine.com/u/Tdore)\
**Post date:** [November 13, 2016, 1:50am UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665/2 "2016-11-13T01:50:37Z")

</div>

I’m having the same issue. Also in 4.13. Is this a version bug?

---

<div class="post-metadata">

**Author:** ![kornel.l.varga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kornel.l.varga](https://forums.unrealengine.com/u/kornel.l.varga)\
**Post date:** [November 13, 2016, 12:57pm UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665/3 "2016-11-13T12:57:48Z")

</div>

no idea, but would be nice to hear some official staff opinion in the theme!, maybe this question should be in the bug reports?  
**EDIT** I have moved this to Bug Reports.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [November 14, 2016, 7:32pm UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665/4 "2016-11-14T19:32:24Z")

</div>

Hi Kornel,

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here: [Unreal Engine Issues and Bug Tracker (UE-38589)](https://issues.unrealengine.com/issue/UE-38589)

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers,

---

<div class="post-metadata">

**Author:** ![kornel.l.varga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kornel.l.varga](https://forums.unrealengine.com/u/kornel.l.varga)\
**Post date:** [November 15, 2016, 9:03am UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665/5 "2016-11-15T09:03:42Z")

</div>

awsome, looking forward to see it working ! Thank you!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [March 28, 2017, 5:30pm UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665/6 "2017-03-28T17:30:50Z")

</div>

Just following up, it turns out this feature sets the vertex color of the billboard. The material needs to multiply the vertex color’s alpha by the alpha mask of the texture for this to work.

The issue has been marked as invalid.

 ![131951-matbill.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/9/4c95c23fae2e1133368f548d8bf28a2284c3b1fe.png)

---

<div class="post-metadata">

**Author:** ![IslandQuest](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandquest/32/88710_2.png) [@IslandQuest](https://forums.unrealengine.com/u/IslandQuest)\
**Post date:** [July 9, 2022, 12:49am UTC](https://forums.unrealengine.com/t/distance-to-opacity-curve-not-working/375665/8 "2022-07-09T00:49:17Z")

</div>

Still not working right in ue5. Its either visible or not, no in-between and no fade. Expect it to fade with distance, not just disappear suddenly.
