Getting ready

To start with this recipe, perform the following steps:

  1. This time, instead of creating a whole new scene, let's just use the objects and scene that we have by using File | Save Scene As..., and create a new shader (BlinnPhong) and material (BlinnPhongMat):
  1. Once you have a new shader, double-click on it to launch your IDE of choice so that you can start editing your shader.

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.