Day-Night System with Events and Custom Lighting View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2022.3.1 or later
Package size
8.5 MB
Files
11
Favorites
222
Views in the past week
89

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Day-Night System with Events and Custom Lighting

by Sydewa (opens in new tab)

4.6 / 5 · 5 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 4
4 stars 0
3 stars 1
2 stars 0
1 star 0
  • Price drop

Transform your Unity projects with the Lighting Manager script. Achieve realistic day-night cycles, dynamic lighting effects, and immersive environments effortlessly. + Free Skybox Shader

Discount -100% Previous price $9.99 Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Day-Night System with Events and Custom Lighting, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 6

Day-Night System with Events and Custom Lighting screenshot 1

Day-Night System with Events and Custom Lighting screenshot 1

About this asset

This asset has been discontinued. There are no future plans to update it, so I'm making it available for free. All info about the asset is available in the documentation provided.

(Not all content included in the marketing images are included in the package)

Introducing the Day-Night Cycle Toolkit, a versatile asset for creating captivating day-night cycles in your projects. Whether you're a beginner or an experienced developer, this toolkit is designed to be user-friendly and easy to implement.

With this asset, you can effortlessly set up a day-night cycle that seamlessly transitions between different times of the day. The intuitive interface ensures that understanding and using the toolkit is a breeze, even for those new to game development.

  • Standout Features:
    • Trigger events at specific times using Unity Events, adding interactivity to your scenes.
    • Full control over lighting parameters: directional light color, ambient color, and fog color.
    • Simple gradient controls for adjusting atmosphere and mood throughout the day.
    • Compatibility with all render pipelines, with an exclusive skybox shader for Universal Render Pipeline (URP) testing.
  • Day-Night Cycle Toolkit:
    • Dynamic day-night cycle functionality for realistic and visually appealing environments.
    • Intuitive setup for easy integration into your projects.
    • Customizable lighting effects to enhance immersion.
  • Detailed Documentation Package:
    • Step-by-step guidance on utilizing features and maximizing its potential.
    • Clear explanations of the Lighting Manager script's functionality.
    • Best practices and recommendations based on my own research and experimentation.
    • Resources and links for creating captivating skyboxes.

If you'd like to try what this asset is capable of I've made a little game for you to try. It won't let you try every parameter of the asset, but will give you a main idea of how it works and how to use it. (Note: This is not included in the package, this is merely an example of what can be achived with this asset) Link:

https://drive.google.com/drive/folders/1KzlFuc1Kjab6_oKsuR4uVcDiPMScBsgF?usp=sharing

From the publisher's Asset Store listing.

Technical details

  • The Lighting Manager script, tagged with [ExecuteAlways], provides a straightforward implementation for a day-night cycle system.
  • The script references the DirectionalLight object, allowing you to rotate and adjust its color based on the time of day. It also provides options to control the rotation axis.
  • The script supports dynamic changes to ambient light and fog color based on the time of day, ensuring a visually coherent environment.
  • With customizable morning and afternoon intervals, you can seamlessly adjust light intensity, shadow strength, and other parameters to match the desired visual progression.
  • You can integrate custom skybox materials to enhance the sky appearance during different times of the day. The script includes the ability to modify a specific custom property of the skybox material.
  • The Events feature allows you to define time-specific events using the EventInfo class. You can set the event name, associated time, and UnityEvent to execute. The script manages event execution with a tolerance parameter to ensure accurate triggering.
  • The Lighting Manager script includes a ResetEvents function to reset events every day at a specific time.

Implement the Lighting Manager script in your Unity projects to achieve immersive and visually appealing day-night cycles, interactive events, and dynamic lighting effects. Customize the parameters to create the desired mood and atmosphere for your virtual worlds.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
2022.3.1f1 Compatible Compatible Compatible

The asset will work fine in all render pipelines, but if you wish to try the shader that I made, be sure to be in URP (Universal Render Pipeline). (It can be easily transported to HDRP (High Definition Render Pipeline), but it was made originally in URP.)

As listed on the Asset Store.