VR Panorama and Panorama video settings in Unity2017

Source: Internet
Author: User

Use STEAMVR plug-in to do VR camera, create a sphere, set the appropriate size, placed in the same position as the camera, the video is played on the inner wall of the ball, from the inside of the ball to see the inner wall of the ball.

Drag a panorama to the ball, Sharder with the http://blog.csdn.net/wuyt2008/article/details/54313474 in this link (provided by the great God).

Add the Videoplayer component, add the video you want to play in the vedeoclip below, Rendermode set to Materialoverride.

Use the play (), Stop () and other methods to control.

To display only the Panorama picture, set the Videoplayer component's enabled to False to show only the panorama that started on the drag.

The change of Panorama picture

Renderer.sharedMaterial.mainTexture = thetexture;

The method.

VR Panorama and Panorama video settings in Unity2017

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.