Day Night Kit is a source library you vendor into your game. It runs a host-authoritative day/night clock: the host advances game-time and publishes it, clients observe and extrapolate smoothly, and pause is handled correctly across the network so a paused host never leaves clients free-running.

The sun and sky grading is pure math. Feed it a game-hour and the day's weather and it returns a sun rotation and four colour grades, anchor-exact at your reference hour, with a twilight blend and a non-uniform clock rate that makes the day run longer than the night. It never touches camera exposure, so night renders genuinely dark instead of fighting a locked-exposure setup.

Weather is a deterministic per-day roll: a pure hash of the world seed and the day, so a host and every client agree on Clear, Cloudy, or Rain with no per-day networking. The kit ships no sky shader and no sky art on purpose and exposes a seam instead: four normalized crossfade weights for any hour, so you drive your own sky however you like.

There is a dev time panel in the box. Scrub the clock, change the pace, jump to dawn or dusk, pin the weather, hold time, and copy the tuned config as a paste-ready C# block. Press N. It is optional; delete Code/Ui and nothing else notices.

Try it before you wire anything. Install the kit, then open the demo scene: the kit lands under your project's Libraries folder rather than your own Assets, so in the Asset Browser select Everything and search daynight_demo, or walk the sidebar to Libraries then fieldguide.daynight then Assets then scenes. Open daynight_demo.scene and press Play. An in-game day takes four real minutes there, so you watch a full cycle: the sun sweeps, the shadows swing, dusk warms, night goes properly dark.

Requirements: s&box, and nothing else. It references no other library and no game code, it needs no Input.config actions (the two keys it reads are raw keyboard keys), and everything the demo scene draws ships with the engine. Source, docs, a self-test battery you can run from the console, and optional convenience, rain and UI modules are included. MIT.
 
Playing with a kit, or hit something weird? Join the Discord and say so; feedback from real projects is what shapes the next release.