2D Toolkit Forum
2D Toolkit => Support => Topic started by: DJVDJV on September 05, 2014, 09:25:48 am
-
Hello,
I would like to get night/day cycle to work.
What is best way to do shoothly changing night/day cycle to tilemap scene? (I would like to use one map not 2 different (Dark for night and light for day))
-
Use (create?) a shader that has a color parameter, and then change this parameter globally (Shader.SetGlobalColor). If all the rest of your sprites use the same parameter, you'll have everything fitting in quite nicely.