AleDel / Spout-UE4

Spout Plugin for Unreal Engine
175 stars 80 forks source link

Cannot receive spout stream in Processing #39

Closed visiblegroup closed 6 years ago

visiblegroup commented 6 years ago

Although Touchdesigner and Spout demo sample receiver work, I cannot receive Spout stream in Processing or libcinder spout block.

The issue might be related to the fact that spout stream seems to be missing format and DirectX information.

Check below: screenshot 2018-03-23 14 44 49 This shows the properties of a spout stream sent by Touchdesigner (see the format information?)

screenshot 2018-03-23 14 44 52 This shows the properties of a spout stream sent by this plugin (see the missing format and directx info)

Did anyone find a solution to this?

visiblegroup commented 6 years ago

Oops, sorry. It turned out that the cause of this was the Capture Source setting of Scene Capture 2D in the scene. By default, it is set to RGB, Inv Opacity in A, which in Processing (and some other programs) produces a black texture. After setting it to Final Color (LDR) in RGB it worked.