Trying to connect GLSL shader to kinect for hand control instead of mouse

Hi there, I have been following this tutorial by threedashes for GLSL shader.

I’ve enjoyed it but I’m trying to replace the mouse input with the X and Y from my kinect. I’ve had no success in getting it working. Whenever I connect my kinect the image disappears.

Any help is greatly appriciated!

GLSR shader with kinect.toe (11.6 KB)