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?
i was able to compile code using this funciton, but i’m not getting any output from it but black color (RGBA, 0,0,0,1) for every screen coordinate.
Kinda weird. If you want i can share you the way i got to compile it.