Page 1 of 1

Noesis breaking SceneCapture2D Alpha in Unreal

Posted: 19 Mar 2023, 17:24
by Satellite5
It appears that just adding the plugin to Unreal (v5.11), not even adding a UI or adding a view to the scene, causes SceneCapture2D alpha to not capture at all (the viewport captures as fully opaque). Just to add, color captures fine, just the alpha seems to not get properly captured.

Am I missing something, is there something I need to change on either the SceneCapture2D instance or with Noesis to get this working?

Thanks.

Re: Noesis breaking SceneCapture2D Alpha in Unreal

Posted: 20 Mar 2023, 12:44
by hcpizzi
Hi,

Sorry, it's an oversight caused by the code used for the BackgroundImage feature in 3.2.

Could you please try adding these lines at the beginning of PostRenderViewFamily_RenderThread in NoesisInstance.cpp?
		if (InViewFamily.Views[0]->bIsSceneCapture || InViewFamily.Views[0]->bIsSceneCaptureCube)
			return;

Re: Noesis breaking SceneCapture2D Alpha in Unreal

Posted: 23 Mar 2023, 16:51
by hcpizzi
Hi Satellite5,

Did you get the chance to try this out? Did it resolve your issue?