How to disable Atmospheric Fog for SceneCaptureComponent?

Hello, I need to know how to disable the Atmospheric Fog for a SceneCaptureComponent in C++. I want to still be able to render Atmospheric Fog for the main camera, but I want it disabled for a SceneCaptureComponent used for creating stencil buffers for my other materials.

I can turn off post-processing effects such as bloom and motion blur but I can’t find anything for Atmospheric Fog in the PostProcessSettings of the SceneCaptureComponent.

I found the solution.

MySceneCaptureComponent->ShowFlags.SetAtmosphericFog(false);

:slight_smile: