Home

Awesome

Kinect VFX Graph

kinect-vfx-graph

This is an example of how to use the depth camera feed from the Kinect with Unity's VFX Graph. The code in this project is heavily inspired by Rsvfx by Keijiro Takahashi.

Requirements

How to use

Add the Kinect VFX prefab to your scene. In your VFX Graph, use the KinectPointCloudMap render texture as input for a 'Set Position From Map' node. The color data for each depth point is available in the KinectColorMap render texture.

Alternatively you can use the Kinect VFX Mapped prefab instead. This does also depth mapping like the Kinect VFX prefab but the internal workings are different. The positional accurancy should be slightly better but I had better performance with the Kinect VFX prefab.

TODO