Is it possible to turn on or off shadows from the script?
In case that the FPS are low so that user could turn shadows off…
yupp, all quality settings are accessable straight through scripting, including shadow distance. See QualitySettings class
Don’t forget the “blob shadow” solution from Lerpz tutorial (a Projector projecting a black circle on the ground) if you still want shadows !