Download

Draw Material to HUD is very dark

I posted a question in Answers last week but I’ve had no replies there (https://answers.unrealengine.com/questions/241009/draw-material-to-hud-is-very-dark.html)

I’m using a SceneCapture2D to create a renderTexture which I am then drawing to the HUD. The image to the right shows this texture being drawn directly to the HUD using Draw Texture in my HUD blueprint class.

For the image on the right I am creating a material from my render texture, then drawing it to the HUD using Draw Material, as you can see it appears very dark in comparison to the Draw Texture method, In the material editor the material appears to be fine.

How should I be setting up my material differently?

45985-unrealtest2.png
57b622422e0c80d80db8e2fa95eac7073ee7dfe9.jpeg

I believe SceneCapture2d doesn’t incorporate post-processing… so the output is not the same. In your case, it is probably HDR.

Related thread:

I may be wrong. But doesn’t it just want to the shading model set to Unlit?

I found a solution here
https://answers.unrealengine.com/questions/120617/how-to-change-a-global-gamma.html

It isn’t the best, but multiply your color by 1/2.2 and that roughly but not exactly fixes your problem.