I’m getting started on the day cycle in my game. I figured the easiest way without resorting to performance-killing dynamic lights would be to make an unlit material that had a bunch of parameters for controlling the light. This is what I came up with.
Anyone interested in making your own, this is what I started off with:
Basically I take the diffuse and normal textures from a regular material and bring them over. I make an unlit material and simulate lighting with the parameters shown. From there, I replaced those few parameters with several others: light, shadow, and highlight colors, each times four in order to have different color schemes for sunrise, daylight, sunset, and night. Then I add another parameter for time of day, and use that to lerp between colors. Next I need to add something to turn the light.