Blender 3.1 Day and Night Cycle Tutorial

  Рет қаралды 65,259

Kaizen

Kaizen

Күн бұрын

Пікірлер: 120
@MartinKlekner
@MartinKlekner 2 жыл бұрын
Loved it!
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks a lot Martin! Means a lot to hear it from an inspiration like yourself 🙏🏻
@quas5086
@quas5086 2 жыл бұрын
Yesterday, i was thinking about creating a script that changes my wallpaper based on time. And my first step was creating a day and night cycle for a blender scene (didnt go very well). Then today i open youtube and see this video. Timing couldnt be better!!! Thank You.
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Haha that’s crazy timing! Glad I could help 🙏🏻
@gargikadikar8228
@gargikadikar8228 Жыл бұрын
Can you tell us how you created the script?
@OtherPeople159
@OtherPeople159 2 ай бұрын
hence prove, youtube or any other app listens or tracks us more than we think lol
@RyanKingArt
@RyanKingArt 2 жыл бұрын
Looks awesome! 👍‍
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks Ryan! 🙏🏻
@arniferak578
@arniferak578 2 жыл бұрын
oh boy OH BOY this is certainly a miracle for me. A few days ago i had an idea of showing timelapse of forests from seeds to a chad trees. I am learning houdini at the same time so decided to do the procedural growth of trees and grasses using houdini but the UI is so scary for lighting that i thought using cute blender for a easy thing would be best. This is where i faced the damn problem.... my target was to achieve photorealism and avoid stylized/cartoony, for that i somehow managed materials using substance and used the nishita sky as lighting setup with few tweaks. When i rendered it out, the first thing that caught my eyes was the sky itself. The timelapse of sky from early morning to dark night was absolute trash..... I tried many times to match it to real world and ended giving up my hopes. Well this tut here must be a blessing from forest gods themselves. Thank you so much man I am so grateful for this. Oh btw, this forest timelapse of mine is actually an online project of my crush :3 she asked me to help her using my (low effort) CG skills. I just coudnt hurt her feelings. Once again thank you very much.
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
It’s meant to be! The timing really seems to be perfect haha. Thanks for sharing and glad I could help with this video. Good luck with your crush 😉
@CreativeRehash
@CreativeRehash 2 ай бұрын
This is such a great tutorial, thank you so much for this! You made it super easy to follow and the result is spectacular, exactly what I was looking for!
@KaizenTutorials
@KaizenTutorials 2 ай бұрын
Glad you like it, thanks!
@nigellill3222
@nigellill3222 2 жыл бұрын
You've outdone yourself this time. This is seriously wicked & the scene you put in for the opening is awesome. Gotta be one of the best tutorials I've seen, learnt heaps from it. Stay safe & keep on smiling 👍🏼🦘
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks a lot Nigel! I really appreciate that. Super glad to hear you like it so much. It gives me energy to keep doing this 🙌🏻 all the best to you! 👍🏻
@mauriciovisconti4286
@mauriciovisconti4286 2 ай бұрын
Great tutorial! 👏 Thanks a lot!
@arpegiomial
@arpegiomial 2 ай бұрын
Thank you so much for this!
@KaizenTutorials
@KaizenTutorials 2 ай бұрын
You're very welcome!
@freedom80ful
@freedom80ful Жыл бұрын
LOVE THIS LESSON...😍😍😍
@KaizenTutorials
@KaizenTutorials Жыл бұрын
Thank you!
@airo_001
@airo_001 2 жыл бұрын
Phenomenal presentation on top of everything!
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks a lot!
@thorntonhough
@thorntonhough Жыл бұрын
OMG awesome mind blown again. Great tutorial.
@KaizenTutorials
@KaizenTutorials Жыл бұрын
Haha thanks!
@RdoGomes
@RdoGomes 6 ай бұрын
beautifully done! fast and to the point.
@KaizenTutorials
@KaizenTutorials 6 ай бұрын
Thank you!
@Klarified01
@Klarified01 2 жыл бұрын
High quality qucik guide. Thank you. Definitely learned a lot!
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thank you! Appreciate the compliments 🙏🏻🙌🏻
@saswatswarupmandhata7860
@saswatswarupmandhata7860 2 жыл бұрын
Saved my entire day 😅.
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Happy to hear that!
@linkzerotsang
@linkzerotsang 2 жыл бұрын
Using Add Shader node to add the daytime sky texture on top of the nighttime one could save some effort of manually keying the mix factor. Since the nighttime sky texture is set with the opposite sun elevation, it won't contribute to the daytime lighting. It also feels more realistic to me at twilight time
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
That’s a great idea as well! I will check this out for sure. Thanks for sharing 👍🏻
@JZStudiosonline
@JZStudiosonline 2 жыл бұрын
I know a better way to handle the transition to night that I figured out a few years ago. I don't remember how or why it works, but it does. And you can use a color ramp to fine tweak the twilight and it doesn't have stars during mid-day Add in a value node and set it up with a driver. Sum Values; Variable; Prop - Sun; Path - matrix_world[2][2]. That will give the height value of the sun light above the horizon line. I then have it running through a multiply at .5 and an add at .8. I don't remember what practical purposes they serve. Then just feed that into a color ramp with black on the right, and feed that into the day/night mix shader. You have to tinker with the sunrise/sunset values, but get it set and you don't have to manually keyframe it.
@ryndesign5309
@ryndesign5309 2 жыл бұрын
thanks for this, found it to be super efficient and gets rid of a temporary blackout that occurs if you mix between to shaders with the keying mix factor method.
@indieartsmidwest4042
@indieartsmidwest4042 Жыл бұрын
This tutorial was fun. Thank you!
@KaizenTutorials
@KaizenTutorials Жыл бұрын
Love to hear it, thanks!
@michaelchurch2957
@michaelchurch2957 Жыл бұрын
To get the stars to follow the position of the moon exactly, you can copy the “Sun Rotation” driver to the Z coordinate of the mapping node, and the “Sun Elevation” driver to the X coordinate of the mapping node. Just make sure the X driver is positive and the Z driver is negative.
@KaizenTutorials
@KaizenTutorials Жыл бұрын
Great Addition, thanks!
@michaelchurch2957
@michaelchurch2957 Жыл бұрын
Thanks! Great video by the way!
@KaizenTutorials
@KaizenTutorials Жыл бұрын
Thank you!
@michaelchurch2957
@michaelchurch2957 Жыл бұрын
@@KaizenTutorials I've encountered a small problem when rendering. The transition between night and day doesn't happen at all. The animated field doesn't update when I render it as an animation. Any idea what is causing this? I am using 3.3.1
@carmatic
@carmatic Жыл бұрын
2:22 if you keyframe the Time input in the Sun Position add-on , it will change the rotation of the Sun light object you assigned to it.... but only in the 3D viewport when you change frames on the timeline Once you start rendering an animation, it will not do anything with the Sun light object
@KaizenTutorials
@KaizenTutorials Жыл бұрын
I'm not sure I understand what you mean. The Sun light object should rotate based on the addon input. Maybe it doesn't work anymore in newer versions of Blender...
@carmatic
@carmatic Жыл бұрын
@@KaizenTutorials I think I found the issue, the Sun light object must not be inside any Collection , otherwise the add-on will not be able to 'connect' to it
@appidydafoo
@appidydafoo 2 жыл бұрын
Very nice, thank you
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Welcome 😊
@digitalrendezvous
@digitalrendezvous 2 жыл бұрын
Simple and helpful. Thank you
@enigmawstudios4130
@enigmawstudios4130 2 жыл бұрын
This is definitely good to know, but for better realism and ease of use I definitely recommend the Physical Starlight and Atmosphere add-on
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
I completely agree! I just wanted to show a way to control this in Blender without addons. Also you could definitely expand this with loads of features! Would be way quicker to just get the addon though haha
@enigmawstudios4130
@enigmawstudios4130 2 жыл бұрын
@@KaizenTutorials yeah, however, it's definitely good to know how to make this work, particularly in the beginning. Awesome job!
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks!
@silenceimpaired
@silenceimpaired 2 жыл бұрын
Subscribed. Thanks!
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
😎🙌🏻
@atkdgn
@atkdgn Жыл бұрын
Thank you so much!!!!
@KaizenTutorials
@KaizenTutorials Жыл бұрын
You're welcome! :-D
@GnanSai3DArtist
@GnanSai3DArtist 2 жыл бұрын
Thank you
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
You’re welcome!
@sureyeah3574
@sureyeah3574 2 жыл бұрын
NOICE!
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks a lot!
@ikouze1
@ikouze1 2 жыл бұрын
This is awesome! I don't see a lot of people doing outdoor time-lapses in blender, which is a shame. This is very well done. When I tried this on my own scene, I did notice that when the sun elevation reaches 90 degrees (noon), my scene becomes extremely washed out. I have been trying to resolve it, and have heard it can be due to the exposure (our eyes automatically adjust to different brightness levels). I was just wondering if you encountered a similar issue, and if there was any workaround for it? Great work, Thank you !
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thank you! And yeah at some angles the sun can get intense. What you’re saying is correct and if you look at a camera it does exactly the same. It adjusts for the exposure automatically (if ur using auto settings). What we can do is compensate for this exposure. That’s called EV Compensation and Default Cube has a very good tutorial on that; I believe it’s all compositing magic. You can see the video here; kzbin.info/www/bejne/n2iyi4RodtCWnZI
@ikouze1
@ikouze1 2 жыл бұрын
@@KaizenTutorials Thank you for linking me to that video. That definitely helps a lot, and with some tweaking I should be able to expose the scene properly. Great work, I look forward to more great content!
@DerpyPlayz429
@DerpyPlayz429 Жыл бұрын
#Frame everyone 10:25
@zoobloomafoo
@zoobloomafoo 2 жыл бұрын
For future videos would you mind zooming in? It is really hard to see the nodes.
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
I’ll try and get a bit closer on the nodes! Thanks for the feedback.
@a_art_man
@a_art_man 2 жыл бұрын
Thanks ! Patreon no, KZbin yes 😅 it’s better to go through together with you in this tutorial and learn a bit then just get a standalone file with all you did your self …
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Hahah, that is definitely true from a learning perspective ;-) But Patreon really helps me to keep doing these videos, so instead of just seeing it as a 'support' platform I decided to give away files aswell, as an extra incentive to join! I also have a cheaper Tier with no files, just to support the channel 🙌
@a_art_man
@a_art_man 2 жыл бұрын
@@KaizenTutorials but I thought KZbin monetize well all the KZbinrs? Is it not a case ? I understand Patreon scope to support, well may be when the world will be more stable …
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
I am monetized yes! But that is not even close to enough to live from sadly, so Patreon is a good additional source of income. No worries if you’re not able to join though! I appreciate any support, such as your comment a lot 🙌🏻
@nicholaspatton3797
@nicholaspatton3797 2 жыл бұрын
@Kaizen Tutorials, this is a very great tutorial you did. I wanted to create a day/night cycle in Blender to give realistic lighting to my models, but I was wondering about something. There is a node called Black Body, which helps with giving light sources more accurate light temperatures. Is there a way to incorporate that node into the day/night cycle you made; and if there is, how would I go about doing that?
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks a lot Nicholas! Sadly there is no way to control the Nishita Sky Texture temperature out of the box. What you could do however is create a more difficult workaround using and actual sun- and moonlight. Tie these to the sun position add-on, combine them with general world shaders for the sky and night and then you could control the light temperature with a blackbody node. There's also this awesome (and free) procedural sky shader. Which you could use to generate an animated sequence aswell. You can get it here; spooky-iluha.gumroad.com/l/procsky.
@nicholaspatton3797
@nicholaspatton3797 2 жыл бұрын
@@KaizenTutorials I'll definitely try both ways you mentioned in the future and see which I feel more inclined to use to try creating a realistic day/night cycle in Blender. Thanks so much for your input
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Good luck!
@ohlawdy6855
@ohlawdy6855 3 ай бұрын
Following this exactly in Blender 4.1, when I'm creating the key frames for the Mix Shader it's doing the effect, but no key frames are on the timeline.
@KaizenTutorials
@KaizenTutorials 3 ай бұрын
You have to select the node and object for the keyframes to appear in the timeline!
@ohlawdy6855
@ohlawdy6855 3 ай бұрын
@@KaizenTutorials Perhaps I missed the object selection part, because I was at least hovering over the node. Thanks a lot! :)
@HiImKyle
@HiImKyle 3 күн бұрын
I have to have the sun size set to 0.1 for the night sky otherwise I don't get shadows which is odd. You have it set to 0.001 with shadows, so maybe things have changed since 3.1?
@KaizenTutorials
@KaizenTutorials Сағат бұрын
Ah yeah that can definitely be the case! A lot of my older content isn't 100% accurate anymore, but so is the life of tutorials I guess haha. Thanks for sharing!
@JZStudiosonline
@JZStudiosonline 2 жыл бұрын
Making the night sky rotation -sun_rotation doesn't work because it's going off global coordinates and not diametrically opposed. If you have the day sun rotation set to 45 degrees, the night sun is set to -45 degrees so it's 90 degrees apart, not 180. Irritatingly, trying to subtract 180 from the value doesn't work either. I don't know how to fix that, but I DO know a better way to handle the transition to night that I figured out a few years ago. I don't remember how or why it works, but it does. Add in a value node and set it up with a driver. Sum Values; Variable; Prop - Sun; Path - matrix_world[2][2]. That will give the height value of the sun light above the horizon line. I then have it running through a multiply at .5 and an add at .8. I don't remember what practical purposes they serve. Then just feed that into a color ramp with black on the right, and feed that into the day/night mix shader. You have to tinker with the sunrise/sunset values, but get it set and you don't have to manually keyframe it. I also set the rotation mapping for the stars to -23.4 on the X (Earth's axial tilt) and 90 on the Z so it lines up with north from the sun position. Y is the actual rotation that's being driven by the sun rotation, so it's a fairly accurate representation of actual star paths. The only problem is the poles by default in Blender are on the x-axis, and north with sun position is on the y, hence the 90 z-axis. The issue is you can't move the north line because without doing a bunch of trigonometry I don't know how to do, it throws the star rotation all out of wack.
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thanks for your extensive input! There’s so many ways of doing this so it’s great to see different variations to the problem.
@OddDuck64
@OddDuck64 2 жыл бұрын
(Just a theory), but i think the reason subtracting 180 isn't working is because it is in radians? Try subtracting pi instead.
@michaelchurch2957
@michaelchurch2957 Жыл бұрын
​@@OddDuck64 You're right. To make the sun and moon oppose each other, I kept the night sky "Sun Elevation" driver as -sun_elevation, but ended up changing the "Sun Rotation" expression to sun_rotation+pi.
@ryndesign5309
@ryndesign5309 2 жыл бұрын
Awesome tutorial. I was able to get a good result. The only issue I ran into was the world shader animation (fading from day / night /day) didn't apply when I rendered the sequence as part of the video sequence editor (VSE) I had to render the sequence independently and add it in. Is there a workaround to avoid this?
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Thank you! I'm not sure if there is a fix for it. It seems like something that shouldn't happen, but I guess it did. Are you sure you didn't accidentally have anything overriding your render in the background? Like some cached renders e.g.
@boface
@boface 2 жыл бұрын
Had the same problem. Took 9 hours to render the animation only to realize that the night/day cycle fading didn't get applied to the final render. It was just night throughout the entire render.
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Sorry to hear that! If you want to speed up your renders btw I’ve got a video now that’ll help you improve a lot on render times. Might save you a couple hours!
@ryndesign5309
@ryndesign5309 2 жыл бұрын
@@boface I believe (but haven't tested it) that the Time value we animate in our 3d scene is being overridden by the Video Editing / VSE scene which has no time animation in it so the passing of time isn't occurring. Not sure if this is a bug, or just the intended effect of having unique scene values.
@boface
@boface 2 жыл бұрын
@@ryndesign5309 I rendered out again with the time animation but without key framing the mix shader, and it seems to work, although the day and night doesn’t look as good
@EduardoRamirez-em5qw
@EduardoRamirez-em5qw 7 ай бұрын
Neil Degreese Tyson will be very upset with the night time shader jejejejeje
@KaizenTutorials
@KaizenTutorials 7 ай бұрын
Hahahaha whoops
@azuretooth
@azuretooth Жыл бұрын
is this compatible for Blender game engine with Eevee renderer?
@KaizenTutorials
@KaizenTutorials Жыл бұрын
It’s not, sorry! It’s a Cycles only function as it uses the nishita sky.
@fatihturkmen4728
@fatihturkmen4728 Жыл бұрын
Veryniece..
@KaizenTutorials
@KaizenTutorials Жыл бұрын
Thank you!
@VoyagerVentures
@VoyagerVentures 2 жыл бұрын
is there anyway this could work in eevee? Because the default setting for the sun lighting mod doesn't work with eevees
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Sadly, not an easy one. For this to work in EEVEE would require some difficult stuff using HDRI’s or custom node based sky shaders, made specially for EEVEE. Honestly I think the best option would be to look for an add-on specifically for EEVEE sky stuff!
@VoyagerVentures
@VoyagerVentures 2 жыл бұрын
@@KaizenTutorials alright cool. Thanks
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
You’re welcome! Sorry I couldn’t be of more help
@fraxbnezl
@fraxbnezl Жыл бұрын
help the sun position is not showing how do i do it
@KaizenTutorials
@KaizenTutorials Жыл бұрын
I'm not sure what you mean? Have you enabled the sun position add on?
@ArnzTheGreat
@ArnzTheGreat Жыл бұрын
For local renders this works great but when trying to render this using SheepIt, the sky texture is stuck with the angle from the first frame. The Sun Position add-on is not being carried over. One of the fixes I found is baking the data using a python script but, this only works for the position of the sun. The sky texture is still stuck on the first angle. Any help would be appreciated!
@KaizenTutorials
@KaizenTutorials Жыл бұрын
Hmm yeah that's going to be an issue. Honestly I don't know a fix for this, sorry :-( The only thing I can think of is doing everything manually and keyframing things. But that's going to be a huge pain in the ass.
@cristicode4301
@cristicode4301 7 ай бұрын
Can HDRI be added to this instead of making stars from extra nodes and shaders?
@KaizenTutorials
@KaizenTutorials 7 ай бұрын
You could yes, just use mix shaders or mix color nodes to mix HDRI's. Since Nightsky HDRI's don't have much color mixing those in is actually quite simple.
@AreYouCurious1
@AreYouCurious1 2 жыл бұрын
can you have the same effect using evee?
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Well not really since sky textures don’t work, but you can get something similar if you find a procedural HDRI. There’s one for free somewhere online!
@vicsar
@vicsar 9 ай бұрын
🤯
@KaizenTutorials
@KaizenTutorials 9 ай бұрын
🙈
@zwatchxd9175
@zwatchxd9175 2 жыл бұрын
Ducky3D said that you need to lower the exposure instead of the strength, it look great in the viewport but the lowered exposure isnt in the rendered file (.exr). someone also said that its a bug in sun position that makes that happen, do you have any solution? thanks
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
I just had a similar question and did some research. Apparently there's a lot of exposure stuff that doesn't get saved to your EXR files, but the data is there though. You can actually just take the EXR file, open it up in your editing software of choice and then tweak the exposure there. So e.g. in Photoshop you can add an adjustment layer with an exposure filter and tweak it there! All the metadata to allow the light-change is still in the file! Hope that helps. :-)
@zwatchxd9175
@zwatchxd9175 2 жыл бұрын
@@KaizenTutorials thanks for explaining it man, also, i have seen a couple of your videos lately through searching and home page, definitely gonna subscribe, have a good day/night
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Great! Thanks, welcome to the club 💪🏻
@ahadasif8402
@ahadasif8402 2 жыл бұрын
It's on evee or cycle
@KaizenTutorials
@KaizenTutorials 2 жыл бұрын
Cycles!
@ahadasif8402
@ahadasif8402 2 жыл бұрын
@@KaizenTutorials thnks:)
@ahadasif8402
@ahadasif8402 2 жыл бұрын
@@KaizenTutorials @kaizen tutorial Hmm kaizen can you provide me day and night cycle file so i can do things little quick
@bunnysenpai7471
@bunnysenpai7471 Жыл бұрын
Why is it blurry when I hit play?
@KaizenTutorials
@KaizenTutorials Жыл бұрын
That's because Blender can't playback Cycles in realtime, so it's giving you approximizations of every frame. If you render out the final product it should be sharp. Also it could be you enabled Depth of Field in the Camera.
Tutorial: Anime style clouds and starry nightsky in blender
26:11
Kristof Dedene
Рет қаралды 255 М.
DID A VAMPIRE BECOME A DOG FOR A HUMAN? 😳😳😳
00:56
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 8 МЛН
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 77 МЛН
6 Years of Blender in 13 Minutes
13:01
Kaizen
Рет қаралды 188 М.
Making a Night Sky in Blender
17:16
CG Boost
Рет қаралды 222 М.
Asking an Expert to Rate my Blender Animation
18:41
Kaizen
Рет қаралды 101 М.
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 1,1 МЛН
I Made a $100,000 Commercial in 24 Hours With $0
15:42
Smeaf
Рет қаралды 612 М.
I Found 8 POWERFUL Blender Tips you've never heard of
20:05
Eevee Lighting Tips - Blender
9:30
Artof JoseVega
Рет қаралды 51 М.
The Key to Realistic Renders in Blender
14:31
Kaizen
Рет қаралды 128 М.
Pro Animation Is EASY Now (Try This!)
11:43
Smeaf
Рет қаралды 583 М.