Fade into scene in SteamVR
Hi, I am using this code below for a gradual fade into a scene/next level in Steam VR (HTC Vive) The whole idea is to cover up the scene loading icon which is viewable for 3-4 seconds and the default Steam landscape scene. The fade (to red) works fine…BUT it comes in after the loading icon so this defeats the whole purpose of it. Is there any simple way to fix this? thanks
public class NewFade : MonoBehaviour {
private float _fadeDuration = 4f;
private void Start()
{
FadeFromWhite();
}
private void FadeFromWhite()
{
//set start color
SteamVR_Fade.View(Color.red, 0f);
//set and start fade to
SteamVR_Fade.View(Color.clear, _fadeDuration);
}
}
Comment
Your answer
Follow this Question
Related Questions
...Smashing myself endlessly in the face with a brick.. 0 Answers
How to fade in and out a image in a loop?,How do I fade in and out image on a loop? 0 Answers
ScreenFade Help 1 Answer
Audio Fade In / Fade Out with Trigger 0 Answers
Fade in animation 0 Answers