Glass Shatter Effect in After Effects: Step-by-Step
In this article
This guide walks you through creating a convincing glass shatter effect in Adobe After Effects, from setting up your composition to adding the final polish. You'll learn how to use the built-in Shatter effect, control the debris, and integrate it seamlessly with your footage. No third-party plugins are required.
What You'll Need
- Adobe After Effects (any recent version, e.g., CC 2018 or later).
- A clip or image you want to shatter. A high-contrast subject works best.
- A basic understanding of layers, keyframes, and the timeline.
Step-by-Step
- Create a New Composition. Click Composition > New Composition (Ctrl+N / Cmd+N). Set the resolution to match your footage (e.g., 1920x1080) and the frame rate to your project's (usually 30 fps). Click OK.
- Import and Place Your Footage. Drag your clip or image into the timeline. If it's a still image, you may want to extend its duration by right-clicking > Time > Time Stretch and setting a longer duration (e.g., 5 seconds).
- Duplicate the Layer. Select the layer and press Ctrl+D (Cmd+D) to duplicate it. The top copy will be the unshattered foreground; the bottom copy will be shattered.
- Apply the Shatter Effect. Select the bottom layer, then go to Effect > Simulation > Shatter. The effect will be applied, and you'll see a wireframe preview.
- Set the View to Rendered. In the Effect Controls panel, find the View dropdown and change it from Wireframe to Rendered. This shows the actual shatter result.
- Choose a Shape. Under Shape, select a pattern. Glass is a good start, but Bricks or Custom (with a custom layer) can give more control. For a realistic glass look, choose Glass.
- Adjust the Force. In the Force 1 section, set a Position where the impact occurs (e.g., where a bullet hits). Set Radius to control the blast area (e.g., 0.5). Set Strength to a high value like 5 or 10 for a violent shatter. Keyframe the Strength from 0 to your max value over 2-3 frames to animate the impact.
- Set the Gravity. In the Physics section, increase Gravity to something like 3 or 5 so the pieces fall realistically. Leave Randomness at 0.2 for natural variation.
- Animate the Shatter Time. The Force 1 > Radius can be keyframed to expand over time, but the key is the Shatter effect's own Time parameter (under Physics). Set a keyframe at 0 seconds with a value of 0, then move forward 1-2 seconds and set it to 100%. This animates the shatter progression.
- Refine the Debris. Under Textures, set the Color to a light blue or white for a glass tint. Under Physics, adjust Viscosity (lower = more fluid) and Mass Variance (higher = more varied piece sizes).
- Add a Foreground Layer. Make sure the top (unshattered) layer is above the shattered one. To reveal the shatter, animate the top layer's Opacity from 100% to 0% over 2-3 frames, starting at the moment of impact. Alternatively, use a Track Matte to reveal the shatter through a mask.
- Add Motion Blur. Enable motion blur on both layers by clicking the Motion Blur toggle (the hourglass icon) on each layer and enabling it in the composition settings. This makes the fast-moving pieces look natural.
- Add Sound and Impact Flash. Add a glass shatter sound effect to the timeline at the impact frame. Add a quick white flash by creating a solid layer (Layer > New > Solid), making it white, and animating its opacity from 100% to 0% over 2 frames at the impact.
- Fine-Tune and Render. Preview your composition. Adjust the force, gravity, and timing until it looks right. When satisfied, render via Composition > Add to Render Queue and choose your output format.
Common Mistakes
- Forgetting to duplicate the layer – you need the original intact for the foreground.
- Not adjusting the View – leaving it in Wireframe makes it impossible to see the result.
- Setting Strength too low – pieces may just crack instead of flying apart.
- Ignoring Gravity – with default gravity, pieces may float or drift unrealistically.
- Not keyframing the Shatter Time – the effect will happen instantly, not over time.
Tips
- Use a custom shape layer (like a text or logo) for the Shatter effect to create branded shatters.
- For a more realistic impact, animate the Force Position over a few frames to simulate a moving projectile.
- Add a slight blur to the shattered layer before the shatter to simulate depth of field.
- Use the Gradient option in the Textures section to make pieces have varying shading.
- Experiment with the Pattern settings – Bricks with a low Repetitions can look like large glass panes.
Troubleshooting
- The shatter effect is not visible. Check that the View is set to Rendered and that the layer is not hidden or have zero opacity.
- Pieces fly too fast or too slow. Adjust the Strength and Gravity. Lower strength for slower, higher gravity for faster fall.
- The shatter looks like uniform cubes. Increase Randomness and Mass Variance to break up the pattern.
- The original layer disappears after shattering. Ensure the top layer is not linked to the bottom layer's effects. Duplicate and keep the top layer clean.
- Motion blur doesn't appear. Make sure the Motion Blur toggle is enabled on both layers and in the composition's Enable Motion Blur button (the hourglass icon at the top of the timeline).
Frequently Asked Questions
Can I use this effect on text? Yes, create a text layer, then apply the Shatter effect to it. Use the Custom shape and select the text layer as the shatter map for a text-specific break.
How do I make the shatter happen at a specific frame? Keyframe the Strength or Time parameter. Set a keyframe at the impact frame with a value of 0, then move 2-3 frames later and set it to max.
Why do the pieces not fall? Check the Gravity – if it's 0, pieces will just float. Increase it to 2 or higher.
Can I use my own image as the shattered texture? Yes, in the Textures section, set Color to Custom and choose your layer as the source.
Is there a way to make the shatter more realistic? Use a high-resolution source, add a subtle camera shake, and combine with a particle system for glass dust. Also, use a custom shape map that matches the object's silhouette.
How long does this take to render? It depends on your system and the number of pieces. Reducing the Pattern repetitions or using a lower resolution for preview can speed up test renders.