"Shadow amount" doesn't seem to be working

I got this to work. As written above, you have to change “virtual shadow maps” to “shadow maps”, but you also have to turn off ray tracing in project settings.