this video is sponsored by the epic vfx academy if you want to learn how to create epic vfx from a to
z definitely check out the link in the description below to put yourself on the wait list hey what's
up ladies and gentlemen my name is inyas aleya and in today's video i'm going to show you how
to turn a day scene into a night scene using adobe after effects so we've already covered this effect
in the past but it's such a great effect to use a ton of times that i wanted to do this video again
and show you a little bit more details and also to have one in a more regular version of adobe after
effects alright so here's my shot that i want to turn into a night scene as you can see there
is no harsh sunlight on the ground that really casts these hard shadows which would in the end
really mess up the effect so i really waited for a moment when the clouds were covering the sun so i
have soft shadows and i will just make it easier to do anything i want with this shot the first
thing that i always do is create a new adjustment layer and this is going to be my grade tonight
and so on this adjustment layer i always added curves if you don't know what this is this is
the effects console it's the exact same thing as searching your effects right here but it's
just a faster way of applying them so if you see me using that um well i just apply the curves to
the adjustment layer and the first thing that i always like to do is bring down the highlights
because in the night yeah everything is dark so we'll have to bring down the yeah the highlights
if you want to learn how to create epic vfx from a to z definitely check out a link in
the description below to put yourself on the wait list whether you are a beginner or already have
experience this is definitely an academy where you will find a lot of benefit whether being held in
our discord community server or getting feedback on your work on getting better or just for these
final little details that you need to apply in your work to finally get that a great look in your
final results and honestly visual effects is an up and coming career choice because of the metaverse
and everything shifting into the digital there are a lot of new and great opportunities for visual
effects artists so if you want to learn after effects from a to z and also want to learn how to
create epic looking visual effects then literally everything related to vfx you can find it in the
epic vfx academy put yourself on the wait list so then i also bring a little bit of this curve
down so it has a little bit more contrast and now we're starting to see something like that
now i also like to add a tint effect uh to this and add a core blue to this tint on the white
so pick a color that you like something like that and now we already have a
kind of um day-to-night scene
you can also lower the amount to tint so it's a little bit less obvious so you still have the
original colors leaking through a little bit something like that and now you're getting a
pretty solid result the only thing that i also like to do sometimes is to really darken my sky
even more or isolate my sky maybe change it up change the sky to a darker more stormy looking sky
um so sky replacement is something that you need to do all of the time as well
so what i like to do here is just duplicate my original footage and bring it on top and then i'm
going for layer and i'm going to pre-compose this and i'm just going to move all the attributes into
that new composition this i'm going to rename this to luma mets so we're going to create a map of
luma which we can then redirect to just isolate uh the sky the only problem here is that we have hair
we have um the leaves of the trees so to really get and sell this effect it's a little bit
tricky so we're going to open up the luma matte composition and what i would like to do here is
i'm going to close and lock this composition here on the side i'm also going to open up
the ghost rider footage so i can also see that right here and i'm going to bring that over here
so now we have the ghost rider composition on the left and on the right we have the
luma matte composition open so if we jump into the luma matte we can now go and add
an adjustment layer and we can add a tint effect or we can add a colorama which i prefer to use
colorama and then i go into the output cycle and i use the preset palette to ramp gray so that turns
my image into a black and white um if you don't want to see it in the uh ghostwriter footage you
can just uncheck the luma matte because we don't need to see it we just need the information that
we create and so now we see a black and white representation and we see our final result if
you really want to see what this luma mat is doing we need to do something else so we're going for
adjustment and we're going to bring that below the luma matte in our ghostwriter footage
and this is going to be the sky and now what i want to do is track matte this tulum well to luma
if you don't see that you can toggle the switches right over here and so now you're using this map
to have this adjustment layer do anything but at this moment we don't have any effects applied to
the sky so we need to do the same thing we're going to add another curves to this and what
i essentially want to do is even darken while the dark in the sky even more but just the sky and not
the rest and so you can still see some highlights of the star of the clouds or something um yeah i'm
just going to play around a little bit there and see what i can work with but by darkening
the sky it's going to look even better in the end so we need to revert back to our luma matte
and here on the adjustment layer for the colorama we can do a few things to really make this a lot
more dense in the end what do we want we want the sky to be white and everything else to be black
so let's start doing that we're going to add a dark point here and a white point here and then
if we bring these towards each other we're going to start seeing cut off on everything so the more
you add contrast the more you will start seeing problems here occurring on the edges of our leaves
and of our hair so we don't want that to happen we need to find like a sweet spot where that
doesn't happen just yet so right here it's pretty soft on the edges so it's looking pretty good
until you have something like that okay and so then i'm going to create another solid
layer and i'm going to click ok make this black and also uncheck it so we don't see it
and essentially what you could do now is rotoscope a little bit around the stuff that you
think should not be visible such as these houses you can create a mask and then animate that mask
for the entire duration of your animation so my idea is to create it pretty rough
somewhat like that and then close it down and then add a little bit of feather here enable it again
press m on the keyboard and create a stopwatch for the mask path and then go all the way till
the end and then just like yeah adjust it wherever you think it needs to be adjusted but i'm not
going too much into detail for the animation of the mask because that's just taking time
so another thing that i like to do is now cover up my face so to do that i'm going to click on
my footage and add mocha ae to this and with mocha ae i'm going to the beginning of my timeline and
open up the mocha ae tool and now right here what i want to do is take my x-spline tool
and just draw around my face because my face is a highlight so we want to create a mask you could
also do this with the rotobrush tool but i found that then you had to make sure that you don't take
the hair with it because i want the hair to come from the luma technique and just the face with
the rotoscope so you can do this in any technique that you want either mocha either the roto brush
2.0 in after effects so let's play it forward now and we can see that mocha does a very great
job at tracking everything here so rotoscoping isn't is a yeah it's a breeze using a mocha e
and whenever you see that it's slipping uh make sure that you go in here and adjust it again you
can do this as perfect as you want i took my time to do this in the example but again for
this tutorial i'm not going to bother too much into showing you how to do simple stuff so let's
say you've done the entire track and you went through this entirely you can click and save this
and now you can click on matte and then you can create ae masks and so i'm going to press m on the
keyboard to reveal that mask and i'm going to hold ctrl and press x to cut it and then i'm just going
to paste it on that black solid as well so you can now see that um my face is now back into the scene
by adding that mask and yeah we can also see it's animated because we we use mocha to do that so
now we're getting a pretty solid result here the only problem that i think we could still clean up
a little bit more is the trees here so that's going to be playing around a little bit more
again with this black point so maybe we want to remove a little bit of the black
and like that you can soften up the transition here but it makes it look a lot better
and so now we can close the luma and we can see we have a pretty nice key here and we have a nice
day to night scene so one more thing that i like to do here in the ghost rider footage is double
check my sky and maybe make it even darker so now we have total control on what we want to do
there we go and so one last thing that i've done here is well we can see that i have some issues
here in the luma that's because i didn't do that mask completely but you get the id one more thing
that i've done is also used mocha ae um on my original footage once more so i'm going to create
well duplicate my original footage and i'm going to call this light and then i'm going to open up
mocha ae again make sure that i'm at the beginning of my timeline and click on the logo for mocha
and so in mocha again i'm going to click on my explain tool and this time i'm actually going to
move and scrub a little bit more towards the end of my clip and take my x-plane tool and click just
like so and then right-click to deselect ctrl a to select everything and then push them inward so i
get a circle and so now i can take each point and push it out a little bit further to cover up the
light and so what i can do now is track backwards and it's going to track the entire light um it's
going to be very easy to do that and then i can isolate that light to get it back to illuminate
on top of the night scene because now it was also being compressed and you couldn't see the light
but in reality you would see the the light in a night scene so okay so now we can close mocha ae
and we can see wherever we have the light if we bring this back on top now
and we go into the matte and apply the matte with a feather of something like four we now have our
light back into our scene and so that immediately makes it look like uh well it's more realistic so
um yeah let's forget about this part it really bothers me actually uh so let's take a quick
look here so you can see if i would have animated this mask in the right position that you wouldn't
get uh this problem here so yeah so if now i would just go and create a new adjustment layer
and add perfect glow to this layer we will see that we get some nice glows here on the light
we can also go to this light and add a curves if you would like and add a little
bit more of the red tones and take a little bit of the blues and maybe you also want to
play with the contrast a little bit and like that you can completely modify how something would look
and yeah add glow don't add glow that's going to be completely up to you but in the end you
can get some really interesting results this way if you see where we are coming from and what we
have in the end it looks so much cooler and this is actually going to be a starting point for in
next tutorial where i'm going to show you how to become the ghost writer in adobe after effects
that's going to be really cool i hope you enjoyed this video if you did give this video a like also
be sure to subscribe to the channel for more and hit the notification bell to stay notified when
i upload new videos apart from that i hope to see you in the next one until then create epic videos