Unity Basic with Oculus Rift

I really don’t know where to put this, it’d prob get buried in Gossip but I put it there anyways but maybe it will be more visible (useful?) here. I’ve gotten Unity Free working fine with the Oculus Rift, using near enough 100% diy bits ive gotten from very clever people all over the internet. It’s not the cleanest thing as it uses a tiny websocket server to pipe the headset orientation into Unity via Websockets-sharp which is a nice .net based managed library that can be had from the asset store compiled or you can compile it yourself (which I did) under the MIT license (which means I can provide my compiled version too) and a small wrapper for a tiny part of the OR SDK called RiftSharp which I altered a little. I can provide the source for all this should you wish to look at my programming with dismay and do a better job yourself.

The camera control is provided by an opensource effort for integrating DIY rift kits without the oculus/unity SDK (called VRDK, they have a FB page although I can’t currently find it) and the barrel distortion is provided by a great asset, FXLab by Maaark which is available on the asset store for a generous $20. It’s not the fastest thing in the world as readpixels etc, is simply nowhere near as fast as proper rendertextures but you can get on your feet and working with it despite this assuming you have a relatively decent/recent machine.

I’m posting without providing a link to a package simply because it would take a few hours to make presentable/written up and i’d rather do more fun things on a night but i can give anyone who wants it an archive or post it here with everything needed cept the FXLab stuff because it’s not mine and the guy deserves some money. At this point Oculus buyers are still probably enjoying their 4 month pro trial they got with the unit but if they’d like a cheaper solution once that runs out then this should tide them over until they can either afford to buy pro or they just would rather fiddle with unity than make mighty things needing soft shadows.

Well, here it is for anyone who cres

http://pourfoi.co.uk/OculusFree/OculusFree.zip