Skip to content

Installing and using Spout4Unity #12

@gRaimbault

Description

@gRaimbault

Hi,

I'm trying to use Spout4Unity with Unity 5.4.0f3. My goal is to send a video stream of the Unity view to another application which will make multiple records at differents times. I can't find any documentation or tutorial on how to use this plugin.
How do you install it exactly? I imported files from the example (NativeSpoutPlugin.dll, SpoutRenderTexture.0.renderTexture, Spout.cs, SpoutSender.cs, TextureInfo.cs) to make it "work" in my project (and I put the scripts in the scene the same way the example with the cube is done). Is it the right way to install it?

For the moment, I could send the video stream from Unity to a Spout receiver, but the video is upside down. Besides, I can't find how to make the camera display both the 3D models (characters and decor) and the skybox at the same time. It only displays the skybox when i choose "skybox" in the option "clear flags" of the camera. When i choose "solid color", it only displays the 3D models with a flat background color.
Another problem: if I don't choose "deferred" for the "rendering path" of the camera, the 3D models are rendered strangely : some items are behind while they should be in front in the video stream.

Is there a list somewhere of all the plugin's functions and the way they work, or a documentation?

Thank you in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions