- Home /
Is it possible to fade seemlessly from one skybox to another?
Hi gang! making my start game ingame cutscene have my Rocket going into space and want to fade from one skybox to another to create a seamless transition into the game. somthing like this using UnityEngine; using System.Collections;
public class Launchskyboxchange : MonoBehaviour {
public material Skybox1;
public material Skybox2;
public float ChangeSkybox = 12f;
// Update is called once per frame
void Update () {
// Fade skybox over time (fade materials.)
}
}
I guess you would somehow need to create a 3rd material from the 2 and change their alpha channels as you transition. I have no idea how to achieve this though.
thats sounds like a good Idea, I could use 2 spheres and fade out one to reveal the second since this is a scripted cutscene :D
Your answer
Follow this Question
Related Questions
color of texture skybox 0 Answers
Change skybox shader color smoothly 1 Answer
Changing Environment LIghting Source at Runtime? 2 Answers
Skybox in HDRP 1 Answer
Unity skybox isn't showing true colors,Skybox colors are not true colors 0 Answers