Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change Skybox color over time?
Fatalist Offline
Member

Posts: 122
Threads: 8
Joined: Dec 2012
Reputation: 8
#8
RE: How to change Skybox color over time?

Lest try this:
void OnStart()
{
AddTimer("", 1800.0f, "Night_start");
}
void Night_start(string &in asTimer)
{
SetSkyBoxColor(0.05, 0.04, 0.3, 1);
AddTimer("night", 1800.0f, "Night_start");
}
Night skybox every 30 min. You can add similar timer for day skybox.

08-21-2013, 03:58 PM
Find


Messages In This Thread
RE: How to change Skybox color over time? - by Fatalist - 08-21-2013, 03:58 PM



Users browsing this thread: 1 Guest(s)