export const DEFAULT_SCENE_PARAMS = {
    elevation: 2,
    azimuth: 180,
    exposure: 0.1,
    turbidity: 10,
    rayleigh: 2,
    bloomStrength: 0.1,
    bloomRadius: 0,
    bloomThreshold: 0,
    waterColor: '#001e0f',
    cloudCoverage: 0.1,
    cloudDensity: 0.5,
    cloudElevation: 0.5,
    fogDensity: 0.42,
    fogHeight: 0.32,
    fogRange: 0.55,
    rainEnabled: false,
    rainScreenIntensity: 0.41,
    rainVeilIntensity: 1.15,
    rainDropSize: 1.0,
    rainSpeed: 1.0,
    rainAudioEnabled: true,
    rainAudioVolume: 0.35,
    snowEnabled: false,
    snowIntensity: 0.65,
    snowSpeed: 0.85,
    lightningEnabled: true,
    lightningIntensity: 0.75,
    mieCoefficient: 0.005,
    mieDirectionalG: 0.8
};

export const WEATHER_PRESETS = {
    default: {
        label: '默认',
        params: {
            ...DEFAULT_SCENE_PARAMS
        }
    },
    clear: {
        label: '日出',
        params: {
            ...DEFAULT_SCENE_PARAMS,
            "elevation": 0,
            "azimuth": 0,
            "exposure": 0.61,
            "turbidity": 1,
            "rayleigh": 3.21,
            "bloomStrength": 0.24,
            "bloomRadius": 0.42,
            "waterColor": "#0b3f36",
            "cloudCoverage": 0.4,
            "cloudDensity": 0.18,
            "cloudElevation": 0.98,
            "fogDensity": 0,
            "fogHeight": 1,
            "fogRange": 0.02,
            "rainEnabled": false,
            "rainScreenIntensity": 0.41,
            "rainVeilIntensity": 1.15,
            "rainDropSize": 1,
            "rainSpeed": 1,
            "rainAudioEnabled": true,
            "rainAudioVolume": 0.35,
            "snowEnabled": false,
            "snowIntensity": 0.65,
            "snowSpeed": 0.85,
            "lightningEnabled": true,
            "lightningIntensity": 0.75

        }
    },
    rainy: {
        label: '下雨',
        params: {
            ...DEFAULT_SCENE_PARAMS,
            exposure: 0.08,
            bloomStrength: 0.16,
            bloomRadius: 0.24,
            waterColor: '#0a2a24',
            cloudCoverage: 0.78,
            cloudDensity: 0.82,
            cloudElevation: 0.42,
            fogDensity: 0.58,
            fogHeight: 0.36,
            fogRange: 0.72,
            rainEnabled: true,
            rainScreenIntensity: 0.38,
            rainVeilIntensity: 1.25,
            rainDropSize: 0.46,
            rainSpeed: 1.18,
            rainAudioEnabled: true,
            rainAudioVolume: 0.35,
            lightningEnabled: true,
            lightningIntensity: 0.75,
            snowEnabled: false
        }
    },
    storm: {
        label: '正午',
        params: {
            ...DEFAULT_SCENE_PARAMS,
            "elevation": 90,
            "azimuth": 180,
            "exposure": 0.24,
            "turbidity": 18.6,
            "rayleigh": 4,
            "bloomStrength": 0.18,
            "bloomRadius": 0,
            "waterColor": "#3378a3",
            "cloudCoverage": 0.4,
            "cloudDensity": 0.5,
            "cloudElevation": 0.5,
            "fogDensity": 0.41,
            "fogHeight": 0.4,
            "fogRange": 0.31,
            "rainEnabled": false,
            "rainScreenIntensity": 0.41,
            "rainVeilIntensity": 1.15,
            "rainDropSize": 1,
            "rainSpeed": 1,
            "rainAudioEnabled": true,
            "rainAudioVolume": 0.35,
            "snowEnabled": false,
            "snowIntensity": 0.65,
            "snowSpeed": 0.85,
            "lightningEnabled": true,
            "lightningIntensity": 0.75
        }
    },
    snow: {
        label: '降雪',
        params: {
            ...DEFAULT_SCENE_PARAMS,
            exposure: 0.11,
            bloomStrength: 0.08,
            waterColor: '#17343e',
            cloudCoverage: 0.72,
            cloudDensity: 0.7,
            fogDensity: 0.52,
            fogHeight: 0.4,
            fogRange: 0.68,
            rainEnabled: false,
            lightningEnabled: false,
            snowEnabled: true,
            snowIntensity: 1.1,
            snowSpeed: 1.2
        }
    }
};
