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 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 glassSmash.png from the list.
  5. Select the Glass Smash Particle System from the Hierarchy panel.
  6. In the Inspector Panel, scroll down to the Particle Renderer component.
  7. In the Materials section, choose the Glass material from the drop-down list.

What just happened I ...

Get Unity 3D Game Development by Example 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.