How could I write RenderSettings.skybox=mat;
in typescript for needle/unity
by user 849912685352058901
How could I write RenderSettings.skybox=mat;
in typescript for needle/unity
by user 849912685352058901
of course goal is to change the skybox in runtime
by user 849912685352058901
You can set the this.congext.scene.background texture.
It might get overridden if the camera component settings get re-applied. I dont think there is a really good way right now to prevent or override the camera skybox
That being said: the RemoteSkybox component does also just that so maybe im mistaken and it works fine. I didnt see any issues with the remote skybox being overriden
Thanks ! I am not sure how to use this remoteskybox for what I want to do, so I will just make a sphere for the moment
by user 849912685352058901
You can set the skybox from a script
RemoteSkybox is just an example