modify shadow debugger for new bias input

This commit is contained in:
raveenajain 2019-06-28 10:07:49 -07:00
parent b95586239a
commit 17d127ecf3

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"