Search code examples
videounity-game-enginecameralive-streaming360-virtual-reality

360 camera live video texture Unity access


I am looking for a 360 camera that will allow me to access its stitched unwrapped video texture live (as a live preview) in Unity. It can be a mobile or a desktop solution. Also wired connection is fine. Please can anyone recommend a camera model that will let me do it?

Thank you


Solution

  • The Theta360 camera can capture 360 images for your VR app. This page describes how to display images from it in Unity with a custom shader.

    You can use WWW and json to get Image from it through Wifi. Here is a full working example of how to do that. You can obtain the whole project here.

    In terms of performance or latency like you mentioned in your other post, you should replace WWW with UnityWebRequest then implement DownloadHandlerScript. This will make everything run smoothly especially when you want to stream the images continuously instead of taking snapshots.