By default, using Unity’s built-in shader Mobile/VertexLit lighting works only as either baked or realtime but you cannot display a realtime light on a baked surface. This shader allows a baked surface to also receive realtime lighting.
For example, a castle scene has realistic baked shadows and a torch on the wall is burning causing light to ‘flicker’ on the surrounding area.
1. Ensure Legacy Vertex Lit rendering path is being used. This is set in the player build settings under ‘Other Settings’.
2. Assign the shader Custom/VertexDynamicLightmap to your material, OR assign the material from this project at VertexDynamicLightmap/Materials/ to your objects.
3. Bake Lighting! The surface will have a detailed lightmap and it will also display dynamic light with Vertex Lit rendering.