Skip to content

TouchDesigner Spout Out TOP to Unity VFX Graph using Spout Receiver with RenderTexture

Notifications You must be signed in to change notification settings

knotidm/TouchDesignerToUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity 6, Universal Render Pipeline

  1. Sending texture from TouchDesigner via Syphon Spout Out TOP (SpoutSender.toe)
  2. Receiving texture as RenderTexture in Unity via KlakSpout -> SpoutReceiver.cs
  3. Targeting Spout Receiver on VFX Graph with particles that are spawned with corresponding positions and colors.

This is the simplest implementation that can be extended in a lot of ways on both sides in Touchdesigner as a source and Unity's VFX Graph as a final rendering.

You can add more spout senders in TD and spout receivers in Unity.

You can send the result back from Unity to Touchdesigner via Spout.

tdtounityviaspout

Known Issue:

failed to create 2D texture shader resource view - in Klak Spout

Solution:

You can fix (not sure if correct fix) by changing Packages\KlakSpout\Runtime\Internal\Receiver.cs line 88/89 keijiro/KlakSpout#81 (comment)

TextureFormat.RGBA32, false, false to TextureFormat.BGRA32, false, true

About

TouchDesigner Spout Out TOP to Unity VFX Graph using Spout Receiver with RenderTexture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages