millicast / millicast-publisher-unreal-engine-plugin

Unreal engine to stream game content to millicast platform.
Other
21 stars 13 forks source link

RP - MillicastViewportCapturer render target missing objects #28

Closed Neosettler closed 1 year ago

Neosettler commented 1 year ago

The MillicastViewportCapturer seems to have an issue with terrain and/or material that makes the mesh hidden from the final capture2d.

Neosettler commented 1 year ago

image

Neosettler commented 1 year ago

if you look closely, the standard capture2d on screens (BLUE) works as expected, the Millicast capture (RED) does not image

dbaldassi commented 1 year ago

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.

Neosettler commented 1 year ago

Last time I checked, the terrain was disappearing with a default texture as well.

dbaldassi commented 1 year ago

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