Day and Night Cycle in Unity | Longitude & Latitude | Star Rotation | Tutorial | HDRP 2022 | Part 2
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 YouTube from completely killing the details of the scene.
⭐By buying this asset you support the channel :)
►Drag&Drop Volumes: https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/drag-drop-volumes-257600?aid=1101lpybM
🌓Part one of this tutorial:
Day and Night Cycle in Unity- Part 1: https://youtu.be/is-OijFIC9o
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 : https://assetstore.unity.com/packages/essentials/tutorial-projects/book-of-the-dead-environment-hdrp-121175?aid=1101lpybM
►Milky Way Skybox: https://assetstore.unity.com/packages/2d/textures-materials/milky-way-skybox-94001?aid=1101lpybM
►Moon Texture: https://drive.google.com/file/d/11GzZAk3BA_m2yw2GwCeShQa8ENbNgG5F/view?usp=sharing
🎵 Music from:
Uppbeat: https://uppbeat.io/?referral=to-xh35s
🎬Timeline:
Soon...
#unity #hdrp #tutorial #daynightcycle #unityhdrp #unity3d #seta