hey guys welcome back to another video we're very excited to let you guys know that HitFilm 16 is
now available both the pro and express versions if you missed josh's video going over the new
features we've got a lot of great things going into this release including a new system for more
detailed 3d models a new light flares effect hevc support a voice over recorder and more
you can find josh's video in the card on screen if you haven't seen that already and you can find
links for the downloads in the description in this tutorial we're going to be taking a look
at how we used cam track ar unreal engine 4 and HitFilm to create a cyberpunk-themed 3d composite
we did something very similar a couple weeks ago with the Mandalorian you guys
really seemed to like that so we thought we'd do it again with cyberpunk coming out very soon
i don't have pockets we also wanted to give a shout out to one of our community members calvin
serrano you guys probably know him for his help on halo jump and rise of the dark side he recently
helped out on a collaboration with mike diva and cd projekt red to create the run the jewels music
video featured on the official cyberpunk channel calvin is really skilled with blender but he
also did composite some of these scenes inside of HitFilm which is really cool to see because
it's an incredibly high quality result you can find the full music video down in the description
similar to the last tutorial that we did this isn't going to be a step-by-step super detailed
walkthrough because there is a lot that we have to do but as always if you have any questions
feel free to leave them down below and if i find any videos or tutorials that i think will help you
create this kind of scene i'll definitely be sure to link them in the description as well first up
is capturing your scene with camtrack ar this is a free ios app that we released just a month or
two ago and the great thing about it is that it captures both your video and the camera tracking
data at the same time you can film something like a green screen wall like we've done here without
any tracking markers and the app will get all the tracking data that it needs from using ar kit once
we have our footage recorded we can now move into creating the environment for this i'm going to
install unreal engine 4 qixel bridge which will give me access to a large library of mega scans
and blender which i'll use to create the ground layer before we get into it i do just want to let
you know that this isn't a tutorial you should watch if you've never used unreal engine before
for that i would recommend checking out the unreal online learning platform
and taking the course called your first hour with unreal engine this will introduce you and
get you up and running really quickly inside of unreal we can now start building the environment
in the mandalorian tutorial i used an alpha brush and a landscape to automatically generate
the hills and dips inside of my surface because i didn't want to have to do it manually this time
i wanted a little bit more control over the street and the way that the textures looked
so i opted to go with vertex painting vertex painting means you can literally paint
the materials onto your mesh and it's a really easy and natural way to do it
this technique doesn't work on landscapes by default it has to have an exported mesh so
inside of blender what i'll do is create a new plane and scale it up i'll go into edit mode by
either hitting the tab key or coming up to this menu here and you'll note that there are only
four vertices at the moment this is called vertex painting so it needs a lot more in order to work
so i'll right click and hit subdivide increase the number of cuts and then i'll do it again for even
more detail you can find a more detailed tutorial on vertex painting on the qixel youtube channel
according to that video you need a healthy amount of vertex points in order for this to
work so there's not really a specific number that you should go for i'll export this plane as an
fbx and import it into unreal now inside of qixel bridge i'm going to browse the numerous surfaces
that they have available for something that i like because i was creating a street i went for
more of an asphalt texture as well as a cracked concrete texture because this was going to be a
close-up shot i went with a 4k texture for each i downloaded and exported the materials into my
unreal project in unreal i can multi-select these materials come up to the mega scans plugin button
and create a material blend this is going to combine all of the materials together into one
now i'll come up here and switch the mode to mesh paint adjust my brush size and then using
the different channels paint the layers onto my scene i've also added an option for puddles
so i can draw those as well you have additional controls for the way the materials look inside of
the master material so in this case they're a bit big so i'll change the tiling in order to make the
texture smaller you can also change the way the materials blend together using the height maps
this results in a more realistic blend for the sidewalk that we ended up having our character
stand on and the curves along the side of the street i also used a mega scan's mesh now that
we have the core of our street set up we can begin adding decals in order to add detail
you can think of decals as a sticker that you place on top of your meshes
they're a separate category inside of qixel bridge they import just the same way as the mega scans
materials and meshes you can place the decal actor pretty much anywhere but it does work better on
flat surfaces i use decals for the road lines and the debris around the trash cans they're a
really easy way to add a lot of grungy detail and break up the sort of uniformity that you might get
with your surfaces if you were to just leave them as is you can find more tutorials on using decals
on the qixel youtube channel for the buildings i use the brushify urban buildings pack which
you can find on the epic games marketplace this comes with individual building meshes as well
as blueprints to quickly get things going and create something like a city block you can change
the materials as well in this case i made the windows brighter and had them appear more often
for the other models inside my scene like the motorbikes the neon signs and the street lamps i
used sketchfab.com which is a fantastic resource for 3d models containing hundreds of different
things all really high quality in most cases i downloaded the gltf version and added that into
unreal in order to import this kind of model you have to enable it inside of the plugins section
if the model imported in pieces you can either drag them all into your scene and
that'll work or you can create a blueprint to combine them all together into one layer
in terms of the lighting for this scene i pretty much kept it to only the neon lights that you see
on the street i did have a directional light that i used as the lightning flashes and i keyframed
that to flicker on and off over the course of the scene for the neon lights i found that the
rectangle light was a good one to use because you can customize the height and width one of
the things that makes a really big difference in the scene is the exponential height fog this
is going to add a lot of atmosphere and it quite literally diffuses the light when you add it in
just be sure to go into the details and check mark volumetric fog this changes the way that
the fog renders and helps diffuse the light a lot more inside of each light you have a
slider for volumetric scattering intensity this affects how much the light is scattered so you
can turn it down to zero for not at all or really crank it up to make it look a lot more foggy once
i'm happy with how my environment is looking i can bring in the camtrack data and see how
my environment looks through the lens of this camera inside of blender i'll import the .hfcs
file that comes with each camtrak recording again we go into more detail with our other
tutorial but you do need the plug-in for blender that allows you to import this kind of data
export the camera as an fbx and in the bake animation drop down be sure to set
the simplified to zero this prevents it from smoothing out the tracking data
inside of unreal go up to cinematics add level sequence this will create a timeline inside of
sequencer which is how you edit the video come over to the actions drop-down select
import then choose your fbx file match your check marks to what is shown here
come over and set the sequence to 60fps and you should see that your camera is
moving as it did in the real world if you need to move your camera but not mess up
the tracking data what you can do is create an empty actor and attach your camera to it
you can then move the empty actor to put the camera into the correct position
inside of the camera details i'll also adjust the sensor width and height to be close to 16x9
in order to match the final aspect ratio once i'm happy with how this looks i can export it
from unreal to HitFilm by clicking render as movie i'll leave it as an avi and i would
recommend using 4k even if you're shooting in 1080p because it'll give you a lot more detail
inside of HitFilm i'll drag and drop both the green screen footage and the exported background
and you can see that the camera aligns already because all the tracking data is there now it's
just a matter of compositing our actor into the scene to do this we'll first mask out any areas
or props that we don't want to see chroma key out the background and then color match the two
plates using curves hue saturation and lightness and other stylizing effects like bleach bypass
chromatic aberration and a vignette there is a lot of work that goes into making this kind of scene
and it's hard to condense it into a tutorial so if you feel that we left anything out do let us know
and we'll cover it in the future or if it's an easy question we'll respond in the comments down
below be sure to subscribe for more filmmaking and visual effects tutorials and let us know
what you'd like to see in the future thanks for watching and i'll see you all in the next video