Getting ready

Let's use our Profiler by getting a few assets ready and launching the Profiler window:

  1. Let's use the scene from the last recipe and launch the Unity Profiler from Window | Profiler or Ctrl + 7. Feel free to drag and drop or move it so you can see it well. I personally put it at the same spot as the Inspector tab.
  2. Let's also duplicate our sphere a couple more times to see how that affects our rendering.
  3. From the Profiler tab, click on the Deep Profile option to get additional information about the project and then play your game!

You should see something similar to the following image:

Get Unity 2018 Shaders and Effects Cookbook 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.