Can I disable shadows on a scene capture component?

Hi everyone,
I am currently optimizing my vr project. I have a scene capture compnent that costs me 42ms with its shadowDepths. Is there a way to prevent the scene capture component to render the scene shadows? I have also set the captureSource to base color or final color LDR and gained 10ms, but it still costs too much. I am using it to use it as a displaytexture on a handheld camera that the player can use.

Greetings
Evil_Fischi

Hi Evil_Fischi
Not directly in the scene capture 2D component, but you have some options available inside the Scene Capture 2D actor, below in the Scene Capture tab, you can hit the arrow to display more options, here you can enable/disable lots of features like bloom, translucency, decals, fog, etc that you do not need capture,

I afraid this tab is not exposed directly into components, but you can access it from c++ easy and modify this variable: FEngineShowFlags ShowFlags;

Create a custom C++ scene capture component. In the constructor, add the following:

ShowFlags.SetDynamicShadows(false);