mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:10:45 +02:00
Merge pull request #15852 from raveenajain/bias_distance_sliders
BUGZ 598: related debugger scripting update
This commit is contained in:
commit
934c482b90
1 changed files with 21 additions and 1 deletions
22
scripts/developer/utilities/render/shadow.qml
Normal file → Executable file
22
scripts/developer/utilities/render/shadow.qml
Normal file → Executable file
|
@ -67,7 +67,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
spacing: 20
|
spacing: 10
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.margins: hifi.dimensions.contentMargin.x
|
anchors.margins: hifi.dimensions.contentMargin.x
|
||||||
|
@ -109,6 +109,26 @@ Rectangle {
|
||||||
font.italic: true
|
font.italic: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ConfigSlider {
|
||||||
|
label: qsTr("Bias Input")
|
||||||
|
integral: false
|
||||||
|
config: shadowConfig
|
||||||
|
property: "biasInput"
|
||||||
|
max: 1.0
|
||||||
|
min: 0.0
|
||||||
|
height: 38
|
||||||
|
width:250
|
||||||
|
}
|
||||||
|
ConfigSlider {
|
||||||
|
label: qsTr("Shadow Max Distance")
|
||||||
|
integral: false
|
||||||
|
config: shadowConfig
|
||||||
|
property: "globalMaxDistance"
|
||||||
|
max: 100.0
|
||||||
|
min: 1.0
|
||||||
|
height: 38
|
||||||
|
width:250
|
||||||
|
}
|
||||||
Repeater {
|
Repeater {
|
||||||
model: [
|
model: [
|
||||||
"0", "1", "2", "3"
|
"0", "1", "2", "3"
|
||||||
|
|
Loading…
Reference in a new issue