https://docs.unity3d.com/Manual/SL-SurfaceShaderLighting.html Lighting Model declaration Lighting model is a couple of regular functions with names starting with Lighting. They can be declared anywhere in your shader file or one of included files. Th…