You can use Game.IsShadowTypeSupported() method to check the availability of specified shadow type on current computer configuration and use Game.MaxShadowType() attribute to set the shadow. Check "game object" in wme documentation to see how those 2 work.