mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
Added other effect checkboxes for consistency.
This commit is contained in:
parent
d9d8d951ec
commit
ca4a817d09
1 changed files with 49 additions and 4 deletions
|
@ -212,7 +212,7 @@ Item {
|
||||||
height: 18
|
height: 18
|
||||||
fontSize: 16
|
fontSize: 16
|
||||||
leftPadding: 0
|
leftPadding: 0
|
||||||
text: "Enabled (local lights, fog, bloom)"
|
text: "Enabled"
|
||||||
checked: Render.renderMethod === 0
|
checked: Render.renderMethod === 0
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Render.renderMethod = 0; // "DEFERRED"
|
Render.renderMethod = 0; // "DEFERRED"
|
||||||
|
@ -224,9 +224,9 @@ Item {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 24
|
anchors.leftMargin: 24
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
anchors.bottomMargin: 5
|
|
||||||
anchors.topMargin: 8
|
anchors.topMargin: 8
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.bottomMargin: Layout.topMargin
|
||||||
enabled: performanceCustom.checked && renderingEffectsEnabled.checked
|
enabled: performanceCustom.checked && renderingEffectsEnabled.checked
|
||||||
|
|
||||||
HifiControlsUit.CheckBox {
|
HifiControlsUit.CheckBox {
|
||||||
|
@ -242,6 +242,51 @@ Item {
|
||||||
Render.shadowsEnabled = renderingEffectShadows.checked;
|
Render.shadowsEnabled = renderingEffectShadows.checked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
HifiControlsUit.CheckBox {
|
||||||
|
id: renderingEffectLocalLights
|
||||||
|
enabled: false
|
||||||
|
//checked: Render.localLightsEnabled
|
||||||
|
checked: renderingEffectsEnabled.checked
|
||||||
|
boxSize: 16
|
||||||
|
text: "Local lights"
|
||||||
|
spacing: -1
|
||||||
|
colorScheme: hifi.colorSchemes.dark
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.top: renderingEffectShadows.bottom
|
||||||
|
//onCheckedChanged: {
|
||||||
|
// Render.localLightsEnabled = renderingEffectLocalLightsEnabled.checked;
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
HifiControlsUit.CheckBox {
|
||||||
|
id: renderingEffectFog
|
||||||
|
enabled: false
|
||||||
|
//checked: Render.fogEnabled
|
||||||
|
checked: renderingEffectsEnabled.checked
|
||||||
|
boxSize: 16
|
||||||
|
text: "Fog"
|
||||||
|
spacing: -1
|
||||||
|
colorScheme: hifi.colorSchemes.dark
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.top: renderingEffectLocalLights.bottom
|
||||||
|
//onCheckedChanged: {
|
||||||
|
// Render.fogEnabled = renderingEffectFogEnabled.checked;
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
HifiControlsUit.CheckBox {
|
||||||
|
id: renderingEffectBloom
|
||||||
|
enabled: false
|
||||||
|
//checked: Render.bloomEnabled
|
||||||
|
checked: renderingEffectsEnabled.checked
|
||||||
|
boxSize: 16
|
||||||
|
text: "Bloom"
|
||||||
|
spacing: -1
|
||||||
|
colorScheme: hifi.colorSchemes.dark
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.top: renderingEffectFog.bottom
|
||||||
|
//onCheckedChanged: {
|
||||||
|
// Render.bloomEnabled = renderingEffectBloomEnabled.checked;
|
||||||
|
//}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -249,7 +294,7 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
Layout.preferredHeight: 35
|
Layout.preferredHeight: 35
|
||||||
Layout.topMargin: 20
|
Layout.topMargin: 10
|
||||||
|
|
||||||
HifiStylesUit.RalewayRegular {
|
HifiStylesUit.RalewayRegular {
|
||||||
id: refreshRateHeader
|
id: refreshRateHeader
|
||||||
|
|
Loading…
Reference in a new issue