# Unlit Material for HUD is drawn darker than original

**URL:** <https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016>\
**Category:** Rendering\
**Tags:** hud, unlit, unreal-engine, Lighting, question\
**Created:** [September 6, 2014, 12:12am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016 "2014-09-06T00:12:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max\_Heiermann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Max\_Heiermann](https://forums.unrealengine.com/u/Max_Heiermann)\
**Post date:** [September 6, 2014, 12:12am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/1 "2014-09-06T00:12:12Z")

</div>

Hi

I am trying to implement a HUD using materials to make animation of the HUD easier.  
Currently I am only using a material wich is set to unlit, so that it wouldn’t appear completely black, because obviously there’s no light in the HUD. First there’s only one simple texture used as emissive color for the material.  
I expected the material to be drawn just like the texture I use as emissive color but on the screen it appears a lot darker or with much more contrast. I am not a technical artist but none of my co-workers could help me either.  
Is there anything we missed out on?

This is the original HUD

![14648-gui+layout+05.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/b/67bb27cbd33c28cd56a53d88d522eecd368bc489.png)

This is it in-game (there’s no alpha channel used on the HUD itself except for the glassy parts)

![14649-hudingame.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/f/5ffc16a0112a30c3f3ee4ad3b4fa65a494f03148.png)

Thanks in advance, Max

---

<div class="post-metadata">

**Author:** ![birdfreeyahoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@birdfreeyahoo](https://forums.unrealengine.com/u/birdfreeyahoo)\
**Post date:** [September 7, 2014, 6:18am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/2 "2014-09-07T06:18:03Z")

</div>

Can I see your rendering code?

---

<div class="post-metadata">

**Author:** ![Max\_Heiermann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Max\_Heiermann](https://forums.unrealengine.com/u/Max_Heiermann)\
**Post date:** [September 7, 2014, 6:56am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/3 "2014-09-07T06:56:53Z")

</div>

Here it is. It looks a lot different now, but the problem still remains… all the nodes are just to specify the size. still looks pretty dark on-screen

 ![14723-hudnode.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/4/9a48935f40b2acf04a3ff2084e6ef36d0961037b.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_828ce3681](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_828ce3681](https://forums.unrealengine.com/u/anonymous_user_828ce3681)\
**Post date:** [September 7, 2014, 7:58am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/4 "2014-09-07T07:58:56Z")

</div>

Hi Max,

I’m getting the same behavior as well. A work around would be using a “Draw Texture Simple” node instead of a material, but hopefully a staff member, or a smart community member, could provide some insight on why materials are drawn so dark on the GUI.

---

<div class="post-metadata">

**Author:** ![Max\_Heiermann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Max\_Heiermann](https://forums.unrealengine.com/u/Max_Heiermann)\
**Post date:** [September 7, 2014, 8:06am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/5 "2014-09-07T08:06:50Z")

</div>

yeah i hope so, because we cant do without the materials. Its our way to animate the HUD using parameters. For now we need to lighten it up by hand 😕

---

<div class="post-metadata">

**Author:** ![birdfreeyahoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@birdfreeyahoo](https://forums.unrealengine.com/u/birdfreeyahoo)\
**Post date:** [September 7, 2014, 8:31am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/6 "2014-09-07T08:31:01Z")

</div>

I had this problem using FCanvasTileItem (C++), the effect may also occur with blueprints.  
It was the DrawColor of my Canvas. I don’t know how you have the possibility in blueprints to affect it, but if you have no idea I can provide you some code.

The DrawColor is at (0.8,0.8,0.8) or something like that. It should be 1,1,1

---

<div class="post-metadata">

**Author:** ![Max\_Heiermann](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Max\_Heiermann](https://forums.unrealengine.com/u/Max_Heiermann)\
**Post date:** [September 7, 2014, 9:01am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/7 "2014-09-07T09:01:01Z")

</div>

I dont think there is a draw color used in hud draw material. At least i can’t access one anywhere. Matter of fact the problem doesn’t occur when drawing a texture instead of a material. But the material shouldn’t do anything else than drawing the same texture with the original brightness… At least i understand thats what the “unlit” setting is for

---

<div class="post-metadata">

**Author:** ![ErebusWolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ErebusWolf](https://forums.unrealengine.com/u/ErebusWolf)\
**Post date:** [May 4, 2016, 6:38am UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/8 "2016-05-04T06:38:59Z")

</div>

It took me 2 days to track down the answer to this. You want to use DrawTexture (with blend mode opaque) not DrawMaterial. I know this is way after the fact but for the next person that comes across this problem.

---

<div class="post-metadata">

**Author:** ![JackSBZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JackSBZ](https://forums.unrealengine.com/u/JackSBZ)\
**Post date:** [December 15, 2022, 10:53pm UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/9 "2022-12-15T22:53:03Z")

</div>

Necro-ing this post because info here helped me solve the problem which for some reason STILL persists in UE5.1.

At the end of your Unlit material add a power node and put it to 0.5 exponent.

This results in a correct material render in the HUD.

---

<div class="post-metadata">

**Author:** ![apfelbaum](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/apfelbaum/32/1194515_2.png) [@apfelbaum](https://forums.unrealengine.com/u/apfelbaum)\
**Post date:** [November 15, 2023, 10:41pm UTC](https://forums.unrealengine.com/t/unlit-material-for-hud-is-drawn-darker-than-original/293016/10 "2023-11-15T22:41:56Z")

</div>

It still persists in UE5.2. You have to use Power(Color, 1/2.2) as emissive input (surface domain) or diffuse (UI domain). the material is always rendered in linear color space, i don’t know yet why it is like this. This also counts for “DrawMaterialTriangle”.
