Skip to main content
Up and Coming
January 12, 2016

Fade in/out

So usually in Unity I could do a fade by simply overlaying a black texture across the camera. But obviously not that simple with VR.

Is there any way to use the same great fader that the OVR camera prefabs use when you first load a scene?

If not, what is the best way to achieve a fade with the rift?
    This topic has been closed for replies.

    3 replies

    Inspiring
    January 12, 2016
    The OVRPlayerController prefab uses OVRScreenFade.cs (https://developer.oculus.com/doc/0.1.3. ... _fade.html).
    New Participant
    January 13, 2016
    "vrdaveb" wrote:
    The OVRPlayerController prefab uses OVRScreenFade.cs (https://developer.oculus.com/doc/0.1.3. ... _fade.html).


    like said, for that you can use OVRScreenFade script. Just attach it to the CenterEyeAnchor of the OVRCameraRig in the scene!
    StankiemAuthor
    Up and Coming
    January 13, 2016
    Thank you both!