mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
modify shadow debugger for new bias input
This commit is contained in:
parent
b95586239a
commit
17d127ecf3
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 {
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue