Day-Night System with Events and Custom Lighting
Sydewa
$0.0
$10.99
100%OFF
(no ratings)
Jump AssetStore
Transform your Unity projects with the Lighting Manager script. Achieve realistic day-night cycles, dynamic lighting effects, and immersive environments effortlessly. + Free Skybox ShaderThe 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.)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=sharingThe 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.