Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureCamera.cpp
// Remove the show flags that might interfere with post-processing effects like
// depth and semantic segmentation.
Remove the show flags that might interfere with post-processing effects like
depth and semantic segmentation.
Remove the show flags that might interfere with post - processing effects like depth and semantic segmentation .
static void RemoveShowFlags(FEngineShowFlags &ShowFlags)
{
  ShowFlags.SetAmbientOcclusion(false);
  ShowFlags.SetAntiAliasing(false);
  ShowFlags.SetAtmosphericFog(false);
  ShowFlags.SetBloom(false);
  ShowFlags.SetCameraImperfections(false);
  ShowFlags.SetCameraInterpolation(false);
  ShowFlags.SetColorGrading(false);
  ShowFlags.SetDepthOfField(false);
  ShowFlags.SetDiffuse(false);
  ShowFlags.SetDirectionalLights(false);
  ShowFlags.SetDirectLighting(false);
  ShowFlags.SetDynamicShadows(false);
  ShowFlags.SetEyeAdaptation(false);
  ShowFlags.SetFog(false);
  ShowFlags.SetGlobalIllumination(false);
  ShowFlags.SetGrain(false);
  ShowFlags.SetHLODColoration(false);
  ShowFlags.SetHMDDistortion(false);
  ShowFlags.SetLensFlares(false);
  ShowFlags.SetLevelColoration(false);
  ShowFlags.SetLightComplexity(false);
  ShowFlags.SetLightFunctions(false);
  ShowFlags.SetLightInfluences(false);
  ShowFlags.SetLighting(false);
  ShowFlags.SetLightMapDensity(false);
  ShowFlags.SetLightRadius(false);
  ShowFlags.SetLightShafts(false);
  ShowFlags.SetLODColoration(false);
  ShowFlags.SetMotionBlur(false);
  ShowFlags.SetOnScreenDebug(false);
  ShowFlags.SetParticles(false);
  ShowFlags.SetPointLights(false);
  ShowFlags.SetPropertyColoration(false);
  ShowFlags.SetRefraction(false);
  ShowFlags.SetSceneColorFringe(false);
  ShowFlags.SetScreenSpaceAO(false);
  ShowFlags.SetScreenSpaceReflections(false);
  ShowFlags.SetSkyLighting(false);
  ShowFlags.SetSpotLights(false);
  ShowFlags.SetStationaryLightOverlap(false);
  ShowFlags.SetSubsurfaceScattering(false);
  ShowFlags.SetTonemapper(false);
  ShowFlags.SetVisualizeAdaptiveDOF(false);
  ShowFlags.SetVisualizeBloom(false);
  ShowFlags.SetVisualizeBuffer(false);
  ShowFlags.SetVisualizeDistanceFieldAO(false);
  ShowFlags.SetVisualizeDistanceFieldGI(false);
  ShowFlags.SetVisualizeDOF(false);
  ShowFlags.SetVisualizeHDR(false);
  ShowFlags.SetVisualizeLightCulling(false);
  ShowFlags.SetVisualizeLPV(false);
  ShowFlags.SetVisualizeMeshDistanceFields(false);
  ShowFlags.SetVisualizeMotionBlur(false);
  ShowFlags.SetVisualizeOutOfBoundsPixels(false);
  ShowFlags.SetVisualizeSenses(false);
  ShowFlags.SetVisualizeShadingModels(false);
  ShowFlags.SetVisualizeSSR(false);
  ShowFlags.SetVisualizeSSS(false);
}
static void RemoveShowFlags ( FEngineShowFlags & ShowFlags ) { ShowFlags . SetAmbientOcclusion ( false ) ; ShowFlags . SetAntiAliasing ( false ) ; ShowFlags . SetAtmosphericFog ( false ) ; ShowFlags . SetBloom ( false ) ; ShowFlags . SetCameraImperfections ( false ) ; ShowFlags . SetCameraInterpolation ( false ) ; ShowFlags . SetColorGrading ( false ) ; ShowFlags . SetDepthOfField ( false ) ; ShowFlags . SetDiffuse ( false ) ; ShowFlags . SetDirectionalLights ( false ) ; ShowFlags . SetDirectLighting ( false ) ; ShowFlags . SetDynamicShadows ( false ) ; ShowFlags . SetEyeAdaptation ( false ) ; ShowFlags . SetFog ( false ) ; ShowFlags . SetGlobalIllumination ( false ) ; ShowFlags . SetGrain ( false ) ; ShowFlags . SetHLODColoration ( false ) ; ShowFlags . SetHMDDistortion ( false ) ; ShowFlags . SetLensFlares ( false ) ; ShowFlags . SetLevelColoration ( false ) ; ShowFlags . SetLightComplexity ( false ) ; ShowFlags . SetLightFunctions ( false ) ; ShowFlags . SetLightInfluences ( false ) ; ShowFlags . SetLighting ( false ) ; ShowFlags . SetLightMapDensity ( false ) ; ShowFlags . SetLightRadius ( false ) ; ShowFlags . SetLightShafts ( false ) ; ShowFlags . SetLODColoration ( false ) ; ShowFlags . SetMotionBlur ( false ) ; ShowFlags . SetOnScreenDebug ( false ) ; ShowFlags . SetParticles ( false ) ; ShowFlags . SetPointLights ( false ) ; ShowFlags . SetPropertyColoration ( false ) ; ShowFlags . SetRefraction ( false ) ; ShowFlags . SetSceneColorFringe ( false ) ; ShowFlags . SetScreenSpaceAO ( false ) ; ShowFlags . SetScreenSpaceReflections ( false ) ; ShowFlags . SetSkyLighting ( false ) ; ShowFlags . SetSpotLights ( false ) ; ShowFlags . SetStationaryLightOverlap ( false ) ; ShowFlags . SetSubsurfaceScattering ( false ) ; ShowFlags . SetTonemapper ( false ) ; ShowFlags . SetVisualizeAdaptiveDOF ( false ) ; ShowFlags . SetVisualizeBloom ( false ) ; ShowFlags . SetVisualizeBuffer ( false ) ; ShowFlags . SetVisualizeDistanceFieldAO ( false ) ; ShowFlags . SetVisualizeDistanceFieldGI ( false ) ; ShowFlags . SetVisualizeDOF ( false ) ; ShowFlags . SetVisualizeHDR ( false ) ; ShowFlags . SetVisualizeLightCulling ( false ) ; ShowFlags . SetVisualizeLPV ( false ) ; ShowFlags . SetVisualizeMeshDistanceFields ( false ) ; ShowFlags . SetVisualizeMotionBlur ( false ) ; ShowFlags . SetVisualizeOutOfBoundsPixels ( false ) ; ShowFlags . SetVisualizeSenses ( false ) ; ShowFlags . SetVisualizeShadingModels ( false ) ; ShowFlags . SetVisualizeSSR ( false ) ; ShowFlags . SetVisualizeSSS ( false ) ; }
Remove the show flags that might interfere with post-processing effects like
depth and semantic segmentation.
Remove the show flags that might interfere with post - processing effects like depth and semantic segmentation .
// ShowFlags.SetAudioRadius(false); // ShowFlags.SetBillboardSprites(false); // ShowFlags.SetBounds(false); // ShowFlags.SetBrushes(false); // ShowFlags.SetBSP(false); // ShowFlags.SetBSPSplit(false); // ShowFlags.SetBSPTriangles(false); // ShowFlags.SetBuilderBrush(false); // ShowFlags.SetCameraAspectRatioBars(false); // ShowFlags.SetCameraFrustums(false); // ShowFlags.SetCameraSafeFrames(false); // ShowFlags.SetCollision(false); // ShowFlags.SetCollisionPawn(false); // ShowFlags.SetCollisionVisibility(false); // ShowFlags.SetCompositeEditorPrimitives(false); // ShowFlags.SetConstraints(false); // ShowFlags.SetCover(false); // ShowFlags.SetDebugAI(false); // ShowFlags.SetDecals(false); // ShowFlags.SetDeferredLighting(false); // ShowFlags.SetDistanceCulledPrimitives(false); // ShowFlags.SetDistanceFieldAO(false); // ShowFlags.SetDistanceFieldGI(false); // ShowFlags.SetEditor(false); // ShowFlags.SetGame(false); // ShowFlags.SetGameplayDebug(false); // ShowFlags.SetGBufferHints(false); // ShowFlags.SetGrid(false); // ShowFlags.SetHighResScreenshotMask(false); // ShowFlags.SetHitProxies(false); // ShowFlags.SetIndirectLightingCache(false); // ShowFlags.SetInstancedFoliage(false); // ShowFlags.SetInstancedGrass(false); // ShowFlags.SetInstancedStaticMeshes(false); // ShowFlags.SetLandscape(false); // ShowFlags.SetLargeVertices(false); // ShowFlags.SetLOD(false); // ShowFlags.SetMaterials(false); // ShowFlags.SetMaterialTextureScaleAccuracy(false); // ShowFlags.SetMeshEdges(false); // ShowFlags.SetMeshUVDensityAccuracy(false); // ShowFlags.SetModeWidgets(false); // ShowFlags.SetNavigation(false); // ShowFlags.SetOutputMaterialTextureScales(false); // ShowFlags.SetOverrideDiffuseAndSpecular(false); // ShowFlags.SetPaper2DSprites(false); // ShowFlags.SetPivot(false); // ShowFlags.SetPostProcessing(false); // ShowFlags.SetPostProcessMaterial(false); // ShowFlags.SetPrecomputedVisibility(false); // ShowFlags.SetPrecomputedVisibilityCells(false); // ShowFlags.SetPreviewShadowsIndicator(false); // ShowFlags.SetPrimitiveDistanceAccuracy(false); // ShowFlags.SetQuadOverdraw(false); // ShowFlags.SetReflectionEnvironment(false); // ShowFlags.SetReflectionOverride(false); // ShowFlags.SetRendering(false); // ShowFlags.SetScreenPercentage(false); // ShowFlags.SetSelection(false); // ShowFlags.SetSelectionOutline(false); // ShowFlags.SetSeparateTranslucency(false); // ShowFlags.SetShaderComplexity(false); // ShowFlags.SetShaderComplexityWithQuadOverdraw(false); // ShowFlags.SetShadowFrustums(false); // ShowFlags.SetSkeletalMeshes(false); // ShowFlags.SetSkinCache(false); // ShowFlags.SetSnap(false); // ShowFlags.SetSpecular(false); // ShowFlags.SetSplines(false); // ShowFlags.SetStaticMeshes(false); // ShowFlags.SetStereoRendering(false); // ShowFlags.SetStreamingBounds(false); // ShowFlags.SetTemporalAA(false); // ShowFlags.SetTessellation(false); // ShowFlags.SetTestImage(false); // ShowFlags.SetTextRender(false); // ShowFlags.SetTexturedLightProfiles(false); // ShowFlags.SetTranslucency(false); // ShowFlags.SetVectorFields(false); // ShowFlags.SetVertexColors(false); // ShowFlags.SetVignette(false); // ShowFlags.SetVisLog(false); // ShowFlags.SetVolumeLightingSamples(false); // ShowFlags.SetVolumes(false); // ShowFlags.SetWidgetComponents(false); // ShowFlags.SetWireframe(false);