Can I hide a cartographic polygon in a scene capture only?

I’m using a cartographic polygon to hide part of the cesium terrain and render my own geometry on top. I have a second view using a USceneCaptureComponent2D where I’d like to render the same area but without my custom geometry. I can hide my custom geometry using USceneCaptureComponent::HideActorComponents but now there’s a gap in the terrain due to the cartographic polygon. Unfortunately, passing the cartographic polygon through HideActorComponents doesn’t negate its effect on the terrain in that view.

Is there a way to make this work, or alternatively, any chance of getting support for hiding the cartographic polygon effect in a specific view in a similar way?

Hi @flav,

We haven’t tried this before, so there’s a chance that this is not supported. But we’d like to have a reproducible scene so that we can confirm this behavior, and eventually identify a solution.

Do you mind sharing how you’ve set up your USceneCaptureComponent2D, either in Blueprints or C++ code? Once we have something to go off of, we can take a look at why the HideActorComponents method isn’t compatible. Thank you!