private static void SetResolutionToCameras(Vector3Int resolution) { AuraCamera[] auraCameras = Aura.AddAuraToCameras(); for (int i = 0; i < auraCameras.Length; ++i) { auraCameras[i].frustumSettings.QualitySettings.SetFrustumGridResolution(resolution); } }
private static void SetDefaultCamerasQuality() { AuraCamera[] auraCameras = Aura.AddAuraToCameras(); for (int i = 0; i < auraCameras.Length; ++i) { auraCameras[i].frustumSettings.QualitySettings.occlusionCullingAccuracy = OcclusionCullingAccuracy.Highest; // Because of the trees' leaves } GX_Quality_SetHighQuality(); }