Is there a way to determine which type of light is currently being processed by the shader variant (Realtime / Baked)?
See the first #if in AutoLight.cginc https://github.com/TwoTailsGames/Unity-Built-in-Shaders/blob/master/CGIncludes/AutoLight.cginc Code (csharp): #if !defined(POINT) && !defined(SPOT) && !defined(DIRECTIONAL) && !defined(POINT_COOKIE) && !defined(DIRECTIONAL_COOKIE) And Lighting.cginc https://github.com/TwoTailsGames/Unity-Built-in-Shaders/blob/master/CGIncludes/Lighting.cginc Code (csharp): #if defined(UNITY_SHOULD_SAMPLE_SH) || defined(LIGHTMAP_ON) || defined(DYNAMICLIGHTMAP_ON) There's also a DIRLIGHTMAP_COMBINED, but LIGHTMAP_ON will also be true when that is.