Forum Discussion
marsv
11 years agoHonored Guest
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.
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.
1 Reply
Replies have been turned off for this discussion
- vrdavebOculus StaffAbsolutely. 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 4 months ago
- 4 years ago