Skip to main content
New Participant
December 6, 2014

Video Passthrough using the Unity Plugin

I've been working on a video passthrough application for the rift for quite a while and have been using the 0.2.x SDK and the DK1 where I've modified the distortion shader to also do some simple compositing using a green screen.

Now I'm trying to update my application for the DK2 and I'm not really sure where to start since lots of things have changed.
I know I can't access the shader anymore but is there a point in the scripts where I could access the current frame and do a blit() ?

Any suggestions would be appreciated.
    This topic has been closed for replies.

    1 reply

    Inspiring
    December 11, 2014
    Absolutely. You should still be able to blit to or from the eye RenderTextures in OnRenderImage(..). Just attach your script the left and right eye anchor GameObjects. They are children of OVRCameraRig.