Shadows

So it looks like on mobile only shadows from directional light sources using forward rendering are supported? Is this correct? Shadows from out light types require deferred rendering which is not supported on mobile, right?

Other light types can have shadows in forward rendering too but you need to add the required pragma to the shader to enable it.
This has been the case since Unity 3.3 on desktop already actually.

Unsure if that will enable them on mobile, given that only hard shadows are supported. But I would take it for granted that the mobile shaders definitely do not have the full forward shadow pragma present due to the major impact it has.

Thanks so much for the answer. I’ll see if I can modify a shader as a test.

I understand shadows have a huge cost on mobile but it will be interesting to see the results.

just make sure the following:

Check Static on anything you want to be baked, the rest will be realtime shadows
Check your quality settings to make sure they have Hard Shadows only and make sure IOS is set to those settings
Check your Main Camera to have Forward Rendering on

that should do it.

Right. The above works just fine for shadows from directional light sources. I’ll have to update shaders to get shadows from other light types light point and spotlight.