Shadows on Custom Lit Surface Shader

I feel like this is must have been answered somewhere before, so please forgive me if my searching has just completely missed the answer but:

How do I get shadows on a custom lit surface shader?

I gave up with my “advanced” shader after finding that even the “SimpleLambert” Diffuse shader given in the examples doesn’t receive shadows :

Thanks for your help!

Found the answer out by playing around.

For anyone else who hits this, I solved it by adding “fullforwardshadows”:

#pragma surface surf WrapLambert fullforwardshadows