|
|
|
@ -252,6 +252,7 @@ bool Launcher::SettingsPage::loadSettings()
|
|
|
|
|
lightFadeMultiplierSpinBox->setValue(Settings::shaders().mLightFadeStart);
|
|
|
|
|
lightsBoundingSphereMultiplierSpinBox->setValue(Settings::shaders().mLightBoundsMultiplier);
|
|
|
|
|
lightsMinimumInteriorBrightnessSpinBox->setValue(Settings::shaders().mMinimumInteriorBrightness);
|
|
|
|
|
loadSettingBool(Settings::shaders().mForcePerPixelLighting, *forcePPLCheckBox);
|
|
|
|
|
|
|
|
|
|
connect(lightingMethodComboBox, qOverload<int>(&QComboBox::currentIndexChanged), this,
|
|
|
|
|
&SettingsPage::slotLightTypeCurrentIndexChanged);
|
|
|
|
@ -470,6 +471,7 @@ void Launcher::SettingsPage::saveSettings()
|
|
|
|
|
Settings::shaders().mLightFadeStart.set(lightFadeMultiplierSpinBox->value());
|
|
|
|
|
Settings::shaders().mLightBoundsMultiplier.set(lightsBoundingSphereMultiplierSpinBox->value());
|
|
|
|
|
Settings::shaders().mMinimumInteriorBrightness.set(lightsMinimumInteriorBrightnessSpinBox->value());
|
|
|
|
|
saveSettingBool(*forcePPLCheckBox, Settings::shaders().mForcePerPixelLighting);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Audio
|
|
|
|
|