Sorry for boring again max users… I have problems with shadows. I cannot find a good setting to show shadow map. Of course, I will try to use AO…but sometimes I like to use shadowmaps. Sometimes I find some banding (that I can remove by changing the bias value..) but always i cannot see good shadows on ios devices!! your demo work…but i don’t know why my demo not! :( for example in this case I use freespot, shadowmap, a small bias (0,2) size 1024 and sample range 4. On android devices are good, on Ios are totally wrong.
The precision of the depth buffer on iOS devices is less than on Android/desktops. So you need to increase the bias, and/or make the shadow volume more compact via proper positioning of the light source.