Creating a "phasing through walls" effect similar to the one seen in Super Mario Galaxy involves blending 3D compositing, masking, and visual effects to create the illusion of a character passing seamlessly through a solid surface. Below is a step-by-step tutorial for creating this effect in Adobe After Effects 2021 (v18.0.0.39):
Step 1: Import Your Assets
Prepare the following assets:
- Footage of the character or object phasing through the wall.
- Ensure the character is moving toward and "through" the wall in the filmed footage.
- Footage or a still image of the wall.
- Ideally, capture a blank plate (a shot of the wall with no character present for easier compositing).
- (Optional) A stock particle or distortion effect, if you'd like to add an energy or transition effect when phasing through the wall.
Step 2: Create the Composition
- Import your footage into After Effects:
- Go to File > Import > File, or drag and drop your assets into the Project panel.
- Drag both your character footage and wall footage into the timeline to create a composition.
- Arrange the wall footage on top of the timeline stack above the character layer (so the wall "covers" the character).
Step 3: Mask the Wall
To allow the character to phase through the wall, you'll need to create a custom mask to simulate the transition.
- Select the wall layer in the timeline.
- Click on the Pen Tool (G) in the toolbar (or press the shortcut key,
G).
- Using the Pen Tool, draw a mask around the portion of the wall where the character will phase through. This will define the "entry zone" where the character appears to interact with the wall.
- Go to the Timeline under the wall layer and open the Mask properties by pressing
M.
- Set the Mask Path keyframe (click the stopwatch icon). Adjust the mask over time so it appears to open or reveal as the character phases through.
Step 4: Feather the Mask
To smooth the transition:
- Under the wall layer’s Mask properties, locate Mask Feather.
- Increase the feather values (e.g., low values like
30-100px work well).
- Adjust the feathering until the edges of the mask blend well into the look of the footage.
Step 5: Add a Displacement or Energy VFX (Optional)
Phasing effects often involve energy distortion or ripple effects to mimic a "warping" visual as the character moves through the wall.
- Add a Displacement Effect (Displacement Map):
- Go to Effect > Distort > Displacement Map and apply it to the wall layer.
- In the effect controls, set the Displacement Map Layer to your character layer, so the distortion occurs where the character intersects with the wall.
- Adjust the Horizontal Displacement and Vertical Displacement values until you achieve the desired effect.
- Add Light or Particles (Optional):
- Go to Effect > Generate > Glow to add a glowing highlight effect, or use a downloaded particle effect composited around the edges of the mask.
- Keyframe these effects to appear and disappear as the character moves through the wall.
Step 6: Keyframe the Character’s Visibility
If the character needs to "vanish" as they phase through the wall:
- Select the character layer.
- Press
T to reveal the Opacity property.
- Create keyframes for the opacity by clicking the stopwatch icon and lowering the opacity to
0% right after the character fully enters the wall.
Step 7: Add Sound Design (Optional)
To sell the effect further, add subtle sound effects, such as an echo, whoosh, or sci-fi hum for the phasing moment.
- Import your sound effects into After Effects.
- Add them to the timeline at the desired points.
Step 8: Render Your Final Composition
After making final tweaks:
- Preview your composition by pressing Spacebar to ensure the effect looks smooth and realistic.
- Go to File > Export > Add to Render Queue or Add to Adobe Media Encoder Queue.
- Select your desired output settings and render the final animation.
Pro Tips:
- Lighting and Shadows: If the phasing effect needs realism, add lighting and shadow effects near the character and wall interaction.
- Blend Layers: Experiment with blending modes (e.g., Add or Screen) for smoother transitions if you're using glow, particles, or energy effects.
- Fine-Tuning Mask Animation: Pay close attention to your mask keyframes to ensure the wall "opens" at the right moment as the character phases through.
This method provides a solid baseline for creating a Super Mario Galaxy-style phasing effect through walls. With time and experimentation, you can make it feel detailed and cinematic!