13. Hooking Into the Standard Shader
Claudia Doppioslash1Â
(1)Liverpool, Merseyside, UK
Â
When you create a surface or Unlit shader, it doesnât automatically take advantage of all the features of the Unity rendering system. You could reimplement them, but that would take a lot of work. Fortunately, itâs possible to obtain that functionality by hacking your BRDF implementation into the Standard shader infrastructure. You can write your shader so it automatically uses Unityâs Standard shader functionality. Thatâs what weâre going to do in this chapter, but keep in mind that there are no guarantees ...