Updating exposure value in Linux and UE 4.26

This commit is contained in:
bernat 2021-03-03 20:20:57 +01:00
parent 0ec6a45563
commit 7cf41964b8
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ void ASceneCaptureSensor::SetExposureCompensation(float Compensation)
#if PLATFORM_LINUX
// Looks like Windows and Linux have different outputs with the
// same exposure compensation, this fixes it.
CaptureComponent2D->PostProcessSettings.AutoExposureBias = Compensation - 1.5f;
CaptureComponent2D->PostProcessSettings.AutoExposureBias = Compensation + 0.75f;
#else
CaptureComponent2D->PostProcessSettings.AutoExposureBias = Compensation;
#endif