Download

Get Screen Pixel Color

I’m assuming ‘FGenericPlatformMisc::GetScreenPixelColor’ was removed in a previous engine version. It still has a documentation page but it’s no longer in “GenericPlatform/GenericPlatformMisc.h”. I need a way to detect the average scene brightness of the viewport either in C++ or blueprints. That way I can detect if the player is looking at a dark section of the environment. Does anyone know of another way to do this?