Once the StandardColor shader is ready, we can start changing its properties:
- In the first line of the script, update the name to the following:
Shader "CookbookShaders/Chapter 02/StandardColor" {
- In the Properties block of our shader, remove the current property by deleting the following code from our current shader:
_MainTex ("Albedo (RGB)", 2D) = "white" {}
- As we have removed an essential property, this shader will not compile ...