Day / Night Scenes

4 minutes
Share the link to this page
Copied
  Completed
In this video, we'll talk about the Sky Sphere Blueprint and how it can interact with our Directional Light Actor to create scenes with different times of the day.

Transcript

Welcome back everybody in this video I want to show you guys how you can make your daytime SR be a nighttime if you so choose. Now, this isn't going to be talking about how to make a day or night cycle that's a little bit more complicated or rather how you can just simply change your day scene here to be nighttime instead. To make this work we need to make use of our directional light actor that we were talking about in the last video. Mine is located right here but if you don't know where to find yours, you can come under the world outliner and simply type in directional light and it will whittle it down. You can select it, tap the F key to frame up on it and that will find it right away for you. Okay, so we talked about how the directional light actor represents the sun.

In the last video, but the directional light actors also use in conjunction with something known as the sky sphere, which is our sky up here. To create a day or night scene, I can actually select the sky back here by clicking on it. And if I get rid of my filter right here you can see I've now selected the sky sphere. If I was to tap the F key right now to frame up on the sky sphere, you can see how I've instantly teleported our camera outside of our snow globe right here. Yes, essentially we are playing a level inside of a giant snow globe. Let's get back to the inside of our snow globe here by typing in player start here in the world.

Outliner selecting it tapping the F key f isn't Frank to jump right back in. Okay, go ahead and select our sky sphere again and down in the Details panel. There is a Slide for us to associate a directional light actor with our sky sphere. So you can come under this checkbox or this drop down arrow right here to choose our lone light source our lone directional light actor, or you could choose this little eyedropper icon and select it in your level like so. Now, nothing has changed yet other than you see that our light source is slotted in right. But if I was to take our directional light actor, tap that spacebar and make it so that our white arrow is pointing straight up into the sky.

Doesn't have to be perfect here but it does have to be pointing away from the ground. Something straight up into the air like so. Now if I selected the sky sphere again, and I tap this property right here called refresh material. Watch this. suddenly it becomes set tonight. Now there's a few fun properties that you can set here.

You've got this cloud speed that you can buy, change it to be something like 100. You can just have clouds whirling all around you cloud Opacity is how strongly Can you see those clouds, bigger values mean more clouds. And then star brightness is a fun one too. You can make the star shine oh so bright by setting it to a bigger or smaller value as you see fit. Alright, I think I'm gonna go a value of cloud speed maybe like 10 maybe even that's Fast Five Star brightness. I usually like something like two.

That's pretty good. Cloud speed. I've went 50 instead of five. That's pretty good. I'm gonna roll with that. Anyways guys, that is how you can go about creating a nighttime scene in your level that's gonna do it all for this one guys.

We will see you in the next one

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.