Hi:) This time I have prepared the second part of the tutorial for you, thanks to which you will create a fully working day and night cycle in Unity HDRP.
So in this tutorial we will add to our script that we created in part one:
- rotation of the moon depending on the hour
- delayed turning on and off of the sun and moon
- turning on and off shadows
- modifications to the intensity of moonlight
- color modifications of the moonlight in relation to the day
- stars visible only at night
- rotation of stars relative to the polar star
- ability to set longitude and latitude for the sun and moon
as you can see, there is a lot of it, and it took me a really long time to prepare it for you. So I will be grateful for every comment, thumbs up or subscription:) Have a nice week:)
- My English is not very good but I hope it won't disturb you too much:)
- 4K is only there to increase the bitrate of the movie, and to prevent RU-vid from completely killing the details of the scene.
⭐Instead of repeating the steps from the tutorial, you can buy the upgraded versions of this controller here:
►[HDRP] Day/Night Cycle: assetstore.unity.com/packages...
⭐By buying this asset you support the channel :)
►Drag&Drop Volumes: assetstore.unity.com/packages...
🌓Part one of this tutorial:
Day and Night Cycle in Unity- Part 1: • How to Create Day and ...
Day and Night Cycle in Unity | Longitude & Latitude | Star Rotation | Tutorial | HDRP 2022 | Part 2
📝 Assets used in this video:
►Book Of The Dead: Environment | HDRP : assetstore.unity.com/packages...
►Milky Way Skybox: assetstore.unity.com/packages...
►Moon Texture: drive.google.com/file/d/11GzZ...
🎵 Music from:
Uppbeat: uppbeat.io/?referral=to-xh35s
🎬Timeline:
Soon...
#unity #hdrp #tutorial #daynightcycle #unityhdrp #unity3d #seta
17 дек 2023