Merge pull request #15852 from raveenajain/bias_distance_sliders

BUGZ 598: related debugger scripting update
This commit is contained in:
Shannon Romano 2019-06-28 11:40:59 -07:00 committed by GitHub
commit 934c482b90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
scripts/developer/utilities/render/shadow.qml Normal file → Executable file
View file

@ -67,7 +67,7 @@ Rectangle {
}
ColumnLayout {
spacing: 20
spacing: 10
anchors.left: parent.left
anchors.right: parent.right
anchors.margins: hifi.dimensions.contentMargin.x
@ -109,6 +109,26 @@ Rectangle {
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 {
model: [
"0", "1", "2", "3"