Hey everyone,
I am trying to change the material of my skybox whenever a button it pressed, however, I cannot get it to work properly.
I have tried using
RenderSettings.skybox = mat;
but this is not working at all. Is there anything that needs to be setup differently than default or is there some other code that I have not found?
I have a prefab that my script is attached to and I have materials assigned in the editor for box materials I want to use as a skybox.
Any help would be appreciated.
Thanks