{"id":13663650,"url":"https://github.com/EnricoMonese/DayNightCycle","last_synced_at":"2025-04-25T17:32:04.102Z","repository":{"id":220800592,"uuid":"67448719","full_name":"EnricoMonese/DayNightCycle","owner":"EnricoMonese","description":"Easy Day-Night Cycle for Unity game engine","archived":false,"fork":false,"pushed_at":"2020-10-01T15:53:15.000Z","size":2051,"stargazers_count":36,"open_issues_count":0,"forks_count":15,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-07T03:24:23.516Z","etag":null,"topics":["csharp","day-night-cycle","game","scene","unity-game-engine"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EnricoMonese.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"enricomonese","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-09-05T20:22:42.000Z","updated_at":"2024-10-06T00:59:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"70d92aa7-b3b5-4533-a599-4ac0fadc0ab1","html_url":"https://github.com/EnricoMonese/DayNightCycle","commit_stats":null,"previous_names":["enricomonese/daynightcycle"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnricoMonese%2FDayNightCycle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnricoMonese%2FDayNightCycle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnricoMonese%2FDayNightCycle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EnricoMonese%2FDayNightCycle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EnricoMonese","download_url":"https://codeload.github.com/EnricoMonese/DayNightCycle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250862099,"owners_count":21499221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","day-night-cycle","game","scene","unity-game-engine"],"created_at":"2024-08-02T05:02:33.249Z","updated_at":"2025-04-25T17:32:03.821Z","avatar_url":"https://github.com/EnricoMonese.png","language":"C#","funding_links":["https://patreon.com/enricomonese"],"categories":["C\\#"],"sub_categories":[],"readme":"![GitHub stars](https://img.shields.io/github/stars/enricomonese/DayNightCycle?style=social)\n![GitHub forks](https://img.shields.io/github/forks/enricomonese/DayNightCycle?style=social)\n![GitHub watchers](https://img.shields.io/github/watchers/enricomonese/DayNightCycle?style=social)\n![GitHub followers](https://img.shields.io/github/followers/enricomonese?style=social)\n\n\n![GitHub repo size](https://img.shields.io/github/repo-size/enricomonese/DayNightCycle)\n![GitHub language count](https://img.shields.io/github/languages/count/enricomonese/DayNightCycle)\n![GitHub top language](https://img.shields.io/github/languages/top/enricomonese/DayNightCycle)\n![GitHub repo license](https://img.shields.io/github/license/enricomonese/DayNightCycle)\n![GitHub last commit](https://img.shields.io/github/last-commit/enricomonese/DayNightCycle)\n\n\u003cspan class=\"badge-patreon\"\u003e\n\u003ca href=\"https://patreon.com/enricomonese\" target=\"_blank\" title=\"Support this project using Patreon\"\u003e\u003cimg src=\"https://img.shields.io/badge/patreon-donate-F96854.svg?logo=patreon\" alt=\"Patreon donate button\" height=\"20px\"/\u003e\u003c/a\u003e\n\u003c/span\u003e\n\n# Day-Night Cycle\n\n\nAn Easy and Simple solution for day-night cycle in Unity game engine.\n\n![Screen][Image3]\n\n## How to use\n\nTo use simply import *DayNightCycle.cs* and *Editor/DayNightCycleEditor.cs* into your project.\nAssign *DayNightCycle.cs* to a directional light in your scene and play around with the settings.\nThen assign your Directional light and a procedural skybox material in the *Lighting Settings*.\nYou may also lower the *Reflection Intensity* to get get darker scenes during night.\n\n![Screen][Image1]\n![Screen][Image2]\n\n\n## Requirements\n\nTested in the 5.5 beta but should work in previous versions too.\nProcedural Skybox material is needed.\n\n\n\n## TODO\n\n* [ ] Presets **(maybe)**\n* [ ] Range sliders for min-max variables\n* [ ] Quick method that returns in game time(hours:minutes:seconds)\n\n\u003cspan class=\"badge-patreon\"\u003e\n\u003ca href=\"https://patreon.com/enricomonese\" target=\"_blank\" title=\"Support this project using Patreon\"\u003e\u003cimg src=\"https://img.shields.io/badge/patreon-donate-F96854.svg?logo=patreon\" alt=\"Patreon donate button\" height=\"28px\"/\u003e\u003c/a\u003e\n\u003c/span\u003e\n\n[Image1]: http://www.edraflame.com/daynightcycle-github-images/inspector.png\n[Image2]: http://www.edraflame.com/daynightcycle-github-images/lighting-settings.png\n[Image3]: http://www.edraflame.com/daynightcycle-github-images/screen.png\n[Kino]: https://github.com/search?q=kino+user%3Akeijiro\u0026type=Repositories\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEnricoMonese%2FDayNightCycle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEnricoMonese%2FDayNightCycle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEnricoMonese%2FDayNightCycle/lists"}