Latest Blog Posts

How to composite CamTrackAR tracked footage in HitFilm

Learn how to take your CamTrackAR tracked footage from your iOS* device and composite it into any scene you can imagine inside HitFilm. The tracking data mirrors the real-world camera movement in your CGI environment, and allows you to add 3D models at the same time!

How to get started with CamTrackAR

CamTrackAR is a groundbreaking iOS app that can capture video and 3D tracking data simultaneously using Apple’s AR technology, and the most recent update brings powerful new features for on-set previsualization, including live Chroma Key and real-time 3D model import.

How to create light streak effects in HitFilm

Learn how to use HitFilm’s Light Streaks effect to bring your scenes to life! This fully customizable effect gives you everything you need to create realistic, cinematic light rays – perfect for creating retro-inspired motion graphics and adding some flair to your 3D models.

How to create custom lens flares in HitFilm Pro

Learn how to create cinematic lens flares from scratch using the Custom Light Flares effect inside HitFilm Pro. With over 60 presets to choose from, and fully customizable settings, you’ll always be able to add the flair your footage deserves.

How to create Star Wars space battle VFX

Learn how to create an epic Star Wars-inspired space battle scene featuring The Mandalorian's Razor Crest ship! Zach takes you through the whole process from importing your 3D models, adding animations, creating laser blasts that interact with the models, and adding the final grade to bring the whole scene together!

This tutorial will show you how to create an epic 3D space battle scene inspired by Star Wars. We’ll be using 3D models and the Particle Simulator, which require add-on packs if you’re using HitFilm Express (but are included in HitFilm Pro). 


Step 1: Import the 3D models into a HitFilm Composite Shot

We sourced both the Razor Crest and TIE Fighter 3D models from Sketchfab.com and ensured that we downloaded the .gltf versions of the models.

How to create Star Wars space battle VFX - Altering the TIE Fighter

Once you have downloaded the TIE Fighter model, import it into HitFilm and adjust the Materials setting until you achieve the desired result. Then, create a new Composite Shot and drag in the model. Add a new Point Layer and make it 3D, then parent the model to the Point. We will later animate this point to move the TIE Fighter. Add two more 3D Points, position them on the TIE Fighter’s laser cannons, then parent them to the TIE Fighter. We will later use these Points to fire the lasers.

How to create Star Wars space battle VFX - Altering the Razor Crest

Next, import the Razor Crest model. As we don’t want the glass to be transparent, enable Material Override – this will allow us to use a HitFilm layer for the texture. Additionally, enable Material Override for the thrusters so that we can adjust their color. Then, click ‘Import Maps’ to bring the image textures into HitFilm, allowing us to edit them and hit OK. We also recommend that you reduce the Maximum 3D Model Map Size while working in the file. The Razor Crest model has three different animation files –  we applied the Flying animation, as it puts the ship in a flying pose and animates the engines. Be sure to tick ‘Loop’ so the animation continues. Then, add another new 3D Point, this time parenting the Razor Crest model. Lastly, Scale the model down to 30%. 


Step 2: Animate the 3D models

How to create Star Wars space battle VFX - Animating the models

A scene from The Mandalorian heavily inspired our space battle scene. For the animation, we first animated the Razor Crest. We began by enabling keyframing for the Point’s position, and rotation values, then moved and rotated the model into place. We then jumped ahead on the timeline and adjusted the position and rotation again, resulting in a rocking motion. For a more interesting movement, the rotation keyframes were offset from the position keyframes. Additionally, we used the Manual Bezier Keyframe type to create a much smoother movement than the default Linear Keyframes. However, we didn’t set every keyframe to this type; the shot’s start and end keyframes were linear, making it seem like the motion would continue beyond the shot instead of slowing down at each end. 

This process was repeated to animate the TIE Fighter model, which was placed behind the Razor Crest in Z space. The TIE Fighter animation was very similar to the Razor Crest, except for the addition of a spinning motion. We also animated the Y rotation so the model would point towards its target. Animation like this can take some time to get right, so it’s beneficial to have reference material to learn from, such as the actual Star Wars movies and shows. 


Step 3: Create a starfield

How to create Star Wars space battle VFX - Creating a star field

We used a starfield to imitate the appearance of 3D camera movement. To create the starfield:

  1. Create a new Composite Shot.
  2. Apply the Atomic Particles effect to a white Plane layer. 
  3. Select the Starfield preset. 
  4. Adjust the settings until you are happy with the star’s appearance. 
  5. Drag this Composite into the main Composite Shot 

Typically you would create a 3D starfield by applying the 360 viewer effect, resulting in the starfield reacting to the 3D camera movement. However, an easy trick to fake the appearance of a camera move is to simply animate a 2D image of a starfield. For this shot, we enlarged the starfield beyond the dimensions of the viewer and animated the position to move diagonally towards the top right. This technique gave the ships the appearance of diving as the camera is following them. This 2D star technique essentially replicates what would have been done practically for the original Star Wars films. Back in 1976, they filmed the practical models against a blue screen. To make the models appear to move, they moved the camera with a motion control system and then filmed a 2D starfield as a separate element to be added in later. By moving and rotating the starfield, they were able to give the illusion of more dynamic movement for the ships and cameras.


Step 4: Add some 3D lighting to the shot

How to create Star Wars space battle VFX - Adding 3d lighting

Now that your spaceships are flying, it’s time to make them look more realistic. 

  1. Begin by enabling Ambient Occlusion on the models to bring out some more detail. 
  2. Add a new Light layer, setting the type to Directional as they best represent a distant light source, such as the sun. 
  3. Adjust the position to angle the light in a way that creates nice highlights on the models. 
  4. Enable shadow casting on the light and model layers, and adjust the shadow settings if needed. 
  5. Enhance the appearance of the ships’ reflective metal materials with a HDRI (we sourced one from HDRIHaven.com). We chose a studio HDRI as it doesn’t contain any vibrant colors and mimics the look of filming a practical model in a studio like the original Star Wars films.
  6. Hide the HDRI  from view, and select it as the model’s environment map.

As the Razor Crest’s glass was still transparent, we needed to make each of its textures into their own composite shots. We added a new black Plane layer underneath the image layer in the Glass composite so it was no longer transparent. In the Thruster composite, we desaturated the image, then made it orange. We achieved this with the Color Vibrance effect, but you could use almost any color correction effect to do so. These texture composites were brought into the main composite and hidden. Then we selected each layer in the model’s override materials controls (found in Controls > Models > Razor.gltf > Override Materials). This was achieved by setting the Diffuse Map Source to Use layer and the Diffuse Map Layer to the associated texture composite. We set both the Diffuse Map Layer and the Emissive Map Layer to the thruster texture layer for the Thruster.


Step 5: Add the animated lasers

How to create Star Wars space battle VFX - adding animated lasers

A Star Wars space battle isn’t complete without some lasers! There are various ways to create laser blasts in HitFilm. A more manual approach would be to use one of the Lightsword effects or the Animated Lasers effect. We chose to use an effect that’s slightly more automated – the Particle Simulator.

  1. Drag the Particle Simulator effect into the main composite.
  2. Open up the Emitter settings and attach it to one of the TIE Fighter laser Points. 
  3. Set the Trajectory to Cone and set the Radius to 0. 
  4. Then, adjust the rotation to make the particles fire in the right direction. 
  5. Reduce the Particles Per Second, then increase the Speed. 
  6. To make the particles look like laser blasts, We created a simple 3D model in Blender to use as the particle texture. This laser model is included in the downloadable project file. Once Imported into your project make the diffuse color white. 
  7. Drag the model onto the timeline and select it as the texture source layer of the Particle System. 
  8. Tick ‘Align to Motion,’ then adjust the laser model’s rotation to reorient the particles. 
  9. Set the particle system Velocity From Emitter to 100%. This way the laser speed is affected by the TIE Fighter’s speed. If this value wasn’t changed and the ship was flying forward very fast, the lasers would fall behind the ship. 
  10. When the laser blasts are created, they overlap the TIE Fighter. To fix this, adjust the Anchor Point on the laser model so it is at the end of the laser. You can also adjust the scale of the model to change the laser’s shape. 
  11. Set the Particle Simulator’s Depth Source Layer to be the Razor Crest, so the lasers will intersect with the model instead of sitting on top. 
  12. To stop the lasers from firing, animate the Active property on the Particle Emitters. We chose to deactivate the particles when they aren’t firing anywhere close to their target and when they actually hit their target.
  13. When you are happy with this laser, duplicate the particle Emitter, and attach it to the other laser Point.
  14. Add several Glow effects to the lasers. For each effect adjust the Radius value and the Per Channel Intensity till you’ve reached the desired color. 
  15. To add some interaction between the lasers and the models, add a new Light layer with the color set to match your laser blasts. 
  16. Parent the Light to the TIE Fighter, then set the light’s position to “0,0,0”. Then move it just in front of the Razor Crest model.
  17.  Adjust the light’s falloff and reach so it only lights up the area close to the laser. 
  18. When a laser appears, animate the Light’s intensity to increase, and animate its position to follow the general direction of the laser. 
  19. Then animate the Intensity to fade out. You can then copy and paste these keyframes for each laser blast.

Step 6: Add the finishing touches

How to create Star Wars space battle VFX - the final color grade

To finish off the shot, we can add some lens effects to add more detail and make the shot look even more striking. Firstly, enable motion blur for all of the moving layers. Then, set the Color Bit Depth to 16-bit float by navigating to File > Project Settings > Rendering > Color Bit Depth. Do a simple color grade, using Curves and Bleach Bypass to adjust the color and contrast. If your spaceship’s engines or thrusters are visible in the shot, you can enhance their bright appearance with some Glow effects. Here’s a tutorial showing you how to add glowing effects to 3D models:

Next, add an Anamorphic Lens Flare effect to enhance the bright spots of your shot. Ensure that you set the orientation to Horizontal and disable the Pivot options. Adjust the threshold, intensity, and offset until you have some nice flares on the bright spots of your shot. Another useful lighting effect is the Lens Dirt effect. When using Lens Dirt, be sure to use an image texture for the dirt instead of the built-in dirt texture. You can find the image we used in the downloadable project file. Finally, finish off the shot with some Film Grain, then a Letterbox effect to create the wide aspect ratio. 


The final effect


That’s how you can create your own Star Wars-style space battle in HitFilm! There are many other Star Wars and 3D model tutorials on the FXhome YouTube channel, so be sure to check those out as well. See you next time!

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on reddit
Reddit
Hannah Odebode

Hannah Odebode

Hey! I'm Hannah, the intern! I'm the person that gets to answer all of your questions and respond to your lovely comments on our socials. I have a great love for all things thriller/horror-film related and my favorite film as of yet is Parasite. 😊
Hannah Odebode

Hannah Odebode

Hey! I'm Hannah, the intern! I'm the person that gets to answer all of your questions and respond to your lovely comments on our socials. I have a great love for all things thriller/horror-film related and my favorite film as of yet is Parasite. 😊