Time for action – make it edgier!

The particles look a bit like snowflakes at the moment. We want something more like sharp glass fragments, so let's set up a new Material with a sharper-edged texture on it to make this effect look more convincing:

  1. In the Project panel, right-click or alternate-click on an empty area and choose Create | Material.
  2. Name the Material Glass.
  3. In the Inspector panel, choose Particles/Additive in the Shader dropdown.
  4. Click on the Select button in the texture swatch, and choose glassShard.png from the list. (This image is in the assetsPackage file of Chapter 10. Import the package if you haven't already.)
    Time for action – make it edgier!
  5. Select the Glass Smash ...

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.