Unity- Photosphere Photo Viewer for Google Cardboard

后端 未结 2 911
陌清茗
陌清茗 2020-12-12 23:26

I am trying to build a Photosphere-like application with Unity3D and use it along with Google cardboard.

I need to load different panoramic view photos and be able

2条回答
  •  误落风尘
    2020-12-12 23:37

    Make a sphere, write a shader so that it is not back culled and it can be seen from the inside. Use the pano image as a texture on the sphere. Place a VR camera rig in the center of the sphere. If you want true stereo, create two such spheres with separate textures for the left and right eye. Place the spheres at the lcoations of the cameras in the rig. Use layer culling so that each camera only sees the proper sphere.

提交回复
热议问题