Skip to content

Instantly share code, notes, and snippets.

@keijiro
Last active April 14, 2017 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keijiro/075d318a2fbff4a6c1185f3fd0dc5fbc to your computer and use it in GitHub Desktop.
Save keijiro/075d318a2fbff4a6c1185f3fd0dc5fbc to your computer and use it in GitHub Desktop.

KlakSpout

gif

KlakSpout is a Unity plugin that allows sharing rendered frames with other applications with using the Spout protocol.

The Spout protocol is supported by several frameworks (Processing, openFrameworks, etc.) and software packages (Resolume, AfterEffects, etc.). The plugin allows Unity to interoperate with them in real time without incurring overhead.

System Requirements and Compatibilities

  • KlakSpout requires Unity 5.6.0 or later.
  • KlakSpout only supports Direct3D 11 (DX11) graphics API mode. Other APIs (DX9, DX12, OpenGL core, etc.) are not supported at the moment.

Features

Sending frames from a camera

You can send rendered frames from a camera in a scene with attaching the SpoutSender component to it.

Receiving frames from other applications

You can receive frames from other applications and store them into a render texture, or set them to a material property as an animating texture.

Installation

Download one of the unitypackage files from the Releases page and import it to a project.

Component Reference

SpoutSender component

inspector

SpoutSender is a component for sending rendered frames to other Spout-compatible applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment