Disable MB under certain resolutions for now. (#8421)

This commit is contained in:
MarcelPiNacy-CVC 2024-11-29 10:43:47 +01:00 committed by GitHub
parent 28df8db4be
commit 61510f159e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -713,6 +713,9 @@ void ASceneCaptureSensor::BeginPlay()
UpdatePostProcessConfig(PostProcessConfig);
CaptureComponent2D->ShowFlags = PostProcessConfig.EngineShowFlags;
CaptureComponent2D->PostProcessSettings = PostProcessConfig.PostProcessSettings;
if (ImageWidth < 1920 || ImageHeight < 1080)
CaptureComponent2D->ShowFlags.SetMotionBlur(false);
// This ensures the camera is always spawning the raindrops in case the
// weather was previously set to have rain.