- Home /
The question is answered, right answer was accepted
Facing problems with skybox
Hello! I am trying a create a game with two modes- easy and hard. At first I created the easy mode scene, then duplicated the scene and tried to change the shader of skybox. Whenever I change the shader of skybox in one of the scenes, it automatically gets changed for the other scene as well(which I don't want). Can you please let me know how can I have two seperate shaders of skybox in two different scenes?
Answer by faolad · Mar 13, 2020 at 06:43 PM
Wich version of Unity you are using? You probably are changing the material (Skybox) instead of replacing it on the scene with a new one.
Thanks for replying @faolad I am using unity 2018.3.8f1 version. Yes, you are right. I am just changing the colour of the same skybox for both the scenes. Well, even if I delete the skybox for one of the scenes,both the scenes get affected. What can I do in that case?
Basically any single change in the skybox brings change in both the scenes.
Answer by aoun111 · Mar 14, 2020 at 06:33 AM
Duplicate and rename the shader. Have shader one for 1st scene material and the other for 2nd scene material. Then changes will work fine.
Follow this Question
Related Questions
Lighting doesn't work when changing scenes 0 Answers
How do I make a sky using skybox? 2 Answers
Change Render Settings (SkyBox) through code. 1 Answer
How do I use spacescape with unity? 2 Answers
Fade SkyBox to Black 3 Answers