mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 11:04:48 +02:00
Change local lights condition.
This commit is contained in:
parent
5f2f2f1328
commit
13cb230640
1 changed files with 11 additions and 5 deletions
|
@ -106,13 +106,19 @@ Flickable {
|
|||
|
||||
SettingBoolean {
|
||||
settingText: "Local Lights";
|
||||
settingEnabledCondition: () => { return Render.localLightsEnabled }
|
||||
|
||||
onSettingEnabledChanged: {
|
||||
Render.localLightsEnabled = settingEnabled;
|
||||
}
|
||||
settingEnabledCondition: () => { return Render.renderMethod === 0 }
|
||||
}
|
||||
|
||||
// NOTE: Once local lights have a proper toggle, the SettingBoolean above can be replaced with this one below.
|
||||
// SettingBoolean {
|
||||
// settingText: "Local Lights";
|
||||
// settingEnabledCondition: () => { return Render.localLightsEnabled }
|
||||
|
||||
// onSettingEnabledChanged: {
|
||||
// Render.localLightsEnabled = settingEnabled;
|
||||
// }
|
||||
// }
|
||||
|
||||
SettingBoolean {
|
||||
settingText: "Ambient Occlusion";
|
||||
settingEnabledCondition: () => { return Render.ambientOcclusionEnabled }
|
||||
|
|
Loading…
Reference in a new issue