Average color of texture in Unreal 4

So I’m getting a image of the current scene with a scene capture 2d and can use it with a rendertarget. Now, is it possible to get the average color of this texture using blueprints only (or very basic C++)?

If it isn’t directly possible I thought about blurring the texture heavily and just reading the color of the center pixel. Would that be doable?

I need the color for further stuff in a RGB format is possible.

The HUD: http://i.imgur.com/e1ROR85.png

The material: http://i.imgur.com/2yiqeii.png

The result: http://i.imgur.com/uZS1pbi.png

The material currently has the base color white for testing, as you notice the color of the HUD is still black though.

The MaterialExpressionTextureSampleParameter2D_6 is somehow the color of the first pixel of the texture. When I draw this on the HUD via Emissive Color (since Base Color doesn’t work), it gets dimmed by black heavily.

What am I doing wrong here and how do I get the average color?

1 Like

Did you get your answer? I have the same problem.

1 Like

Nope, sorry.

1 Like