Closed Neosettler closed 1 year ago
if you look closely, the standard capture2d on screens (BLUE) works as expected, the Millicast capture (RED) does not
I manage to reproduce it by just by using a landscape component in my project. So I'm pretty sure there is something going with the landscape. The texture must be unload when you go far away. I tried to modify the level of details of the landscape and the camera (disable the post process effets, subsection min component screensize, static lighting LOD). nothing yet.
The preview of the cinecamera is working, the editor viewport is working, only the render target output have the missing texture. Tried several options in the ViewFamily, ViewFamiliyOptions and EngineShowFlags, nothing yet. Still working on it.
Last time I checked, the terrain was disappearing with a default texture as well.
I have replaced the millicast viewport inheriting from a cinecamera to a scencapture2d instead. This solve the landscape disapearing. I had a darker color issue at first, but replacing the render target format in the render texture settings by RTF RGBA8 SRGB solved this darker color issue. https://github.com/millicast/millicast-publisher-unreal-engine-plugin/tree/quality-issue
The MillicastViewportCapturer seems to have an issue with terrain and/or material that makes the mesh hidden from the final capture2d.