# Gamma does not affect UMG text

**URL:** <https://forums.unrealengine.com/t/gamma-does-not-affect-umg-text/336876>\
**Category:** UI\
**Tags:** brightness, text, unreal-engine, Widget, question, UMG\
**Created:** [October 29, 2015, 2:10pm UTC](https://forums.unrealengine.com/t/gamma-does-not-affect-umg-text/336876 "2015-10-29T14:10:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kilrogg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kilrogg](https://forums.unrealengine.com/u/Kilrogg)\
**Post date:** [October 29, 2015, 2:10pm UTC](https://forums.unrealengine.com/t/gamma-does-not-affect-umg-text/336876/1 "2015-10-29T14:10:45Z")

</div>

I’m not sure if this is a bug or just how this is supposed to work, but the “gamma” setting does not affect text in widgets. It does affect everything else, though (well except images that are in B8G8R8A8 format but at least I think I can fix that myself).

Is this normal? I’m using gamma as a brightness setting in my options menu.

![64718-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/4/214f17a3264ddee425538ab182e35499d8c8d409.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [October 29, 2015, 5:59pm UTC](https://forums.unrealengine.com/t/gamma-does-not-affect-umg-text/336876/2 "2015-10-29T17:59:44Z")

</div>

Hello ,

I have a few questions for you that will help narrow down what issue it is that you are experiencing. I would like to know more about how exactly you achieving the results that you are getting.

Quick questions:

1. Can you reproduce this issue in a clean project?
2. If so, could you provide a detailed list of steps in order to reproduce this issue on our end?
3. Are you using widgets that are in screen space or are you using 3D widgets?
4. Can you provide screen shots of any blueprints that may be involved with this issue?

---

<div class="post-metadata">

**Author:** ![Kilrogg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kilrogg](https://forums.unrealengine.com/u/Kilrogg)\
**Post date:** [October 29, 2015, 6:41pm UTC](https://forums.unrealengine.com/t/gamma-does-not-affect-umg-text/336876/3 "2015-10-29T18:41:52Z")

</div>

1 - Yes.

2 - Simply put some text in a UMG widget, add the widget to the viewport, and type “gamma 0” in the console. Typing “gamma” again will revert to the default value.

3 - Only screen space.

While reproducing this in a new project I noticed that gamma **does** affect text and non-texture images (blank image widget components), but not in the way I expected. It will not affect pure white values, but if there is some color in the text or image, it will affect it.

I don’t know exactly how gamma works but obviously its not able to decrease the brightness of something that is pure white. I only use white or black text in my real project so I never noticed that it works on colored text.

So I guess this is just how gamma works?

Below are examples of white text/blank image/real image vs colored text, with gamma 0 and the default gamma (2.25). As you can see even the white outline of my texture is not affected, even though the red fill is.

![64777-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/2/d625dea0f31e551ae56690d76515e26f79d23c58.png)

![64778-capture1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/f/2bf64c7d8eb3b17d04bd2853843d28f2e7cd86f9.png)

![64779-capture2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/1/471d7ffc53648b284b1829b34bc477343a4f3891.png)

![64780-capture3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/b/0fb435526cd2f244104a975b697bc561508abd7d.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [October 29, 2015, 8:06pm UTC](https://forums.unrealengine.com/t/gamma-does-not-affect-umg-text/336876/4 "2015-10-29T20:06:28Z")

</div>

After doing a bit of digging I found that it is working as intended. UMG should not be affected by gamma correction. The fact that the widgets are being affected was an issue that was resolved internally. This will be implemented in a later release of the engine. I did confirm that if you add any colors or tones to the whites in your widget that it will be affect by the gamma correction. I hope that this information helps.

Make it a great day

---

<div class="post-metadata">

**Author:** ![carrpenoctem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@carrpenoctem](https://forums.unrealengine.com/u/carrpenoctem)\
**Post date:** [March 19, 2021, 10:40am UTC](https://forums.unrealengine.com/t/gamma-does-not-affect-umg-text/336876/5 "2021-03-19T10:40:25Z")

</div>

well it’s been almost 6 years, still no “later release of the engine”…
