Revert to temporal AA, removed partial ghosting.
This commit is contained in:
parent
1a90409cc6
commit
c58de91423
|
@ -20,7 +20,7 @@ GlobalDefaultServerGameMode=/Game/Carla/Blueprints/Game/CarlaGameMode.CarlaGameM
|
|||
[/Script/Engine.RendererSettings]
|
||||
r.DefaultFeature.MotionBlur=True
|
||||
r.BasePassOutputsVelocity=True
|
||||
r.BasePassForceOutputsVelocity=True
|
||||
r.BasePassForceOutputsVelocity=False
|
||||
r.AllowStaticLighting=False
|
||||
r.DiscardUnusedQuality=True
|
||||
r.DefaultFeature.Bloom=False
|
||||
|
@ -36,7 +36,7 @@ r.DistanceFieldBuild.Compress=False
|
|||
r.DistanceFields.AtlasSizeXY=1024
|
||||
r.DistanceFields.AtlasSizeZ=2048
|
||||
r.DefaultFeature.AutoExposure.ExtendDefaultLuminanceRange=True
|
||||
r.DefaultFeature.AntiAliasing=1
|
||||
r.DefaultFeature.AntiAliasing=2
|
||||
|
||||
[/Script/AIModule.AISense_Sight]
|
||||
bAutoRegisterAllPawnsAsSources=False
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "Carla.h"
|
||||
#include "Carla/Sensor/OpticalFlowCamera.h"
|
||||
#include "HAL/IConsoleManager.h"
|
||||
|
||||
#include "Carla/Sensor/PixelReader.h"
|
||||
|
||||
|
@ -20,5 +21,9 @@ AOpticalFlowCamera::AOpticalFlowCamera(const FObjectInitializer &ObjectInitializ
|
|||
|
||||
void AOpticalFlowCamera::PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaSeconds)
|
||||
{
|
||||
auto CVarForceOutputsVelocity = IConsoleManager::Get().FindConsoleVariable(TEXT("r.BasePassForceOutputsVelocity"));
|
||||
int32 OldValue = CVarForceOutputsVelocity->GetInt();
|
||||
CVarForceOutputsVelocity->Set(1);
|
||||
FPixelReader::SendPixelsInRenderThread(*this, true);
|
||||
CVarForceOutputsVelocity->Set(OldValue);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue