diff --git a/scripts/developer/utilities/render/deferredLighting.qml b/scripts/developer/utilities/render/deferredLighting.qml index afb1f24baf..6837b4d37f 100644 --- a/scripts/developer/utilities/render/deferredLighting.qml +++ b/scripts/developer/utilities/render/deferredLighting.qml @@ -21,39 +21,25 @@ Rectangle { anchors.margins: hifi.dimensions.contentMargin.x color: hifi.colors.baseGray; - property var mainViewTask: Render.getConfig("RenderMainView") + property var mainViewTask: Render.getConfig("RenderMainView") - Row { - anchors.left: parent.left - anchors.right: parent.right - anchors.margins: 10 Column { - padding: 10 spacing: 5 - - // width: parent.width anchors.left: parent.left anchors.right: parent.right - // padding: hifi.dimensions.contentMargin.x - - ConfigSlider { - label: qsTr("ToneMapping") - integral: false - config: render.mainViewTask.getConfig("ToneMapping") - property: "exposure" - max: 2 - min: 0 - - anchors.left: parent.left - anchors.right: parent.right + anchors.margins: hifi.dimensions.contentMargin.x + //padding: hifi.dimensions.contentMargin.x + HifiControls.Label { + text: "Shading" } - Row { - + anchors.left: parent.left + anchors.right: parent.right + spacing: 20 - padding: 10 Column { spacing: 10 + // padding: 10 Repeater { model: [ "Unlit:LightingModel:enableUnlit", @@ -116,6 +102,8 @@ Rectangle { } Separator {} Column { + anchors.left: parent.left + anchors.right: parent.right spacing: 10 Repeater { model: [ "Tone Mapping Exposure:ToneMapping:exposure:5.0:-5.0" @@ -127,17 +115,22 @@ Rectangle { property: modelData.split(":")[2] max: modelData.split(":")[3] min: modelData.split(":")[4] + + anchors.left: parent.left + anchors.right: parent.right } } Row { + anchors.left: parent.left + anchors.right: parent.right HifiControls.Label { text: "Tone Mapping Curve" - anchors.left: root.left + // anchors.left: parent.left } HifiControls.ComboBox { - anchors.right: root.right + // anchors.right: parent.right currentIndex: 1 model: ListModel { id: cbItems @@ -151,7 +144,11 @@ Rectangle { } } } + Separator {} + Row { + anchors.left: parent.left + anchors.right: parent.right id: framebuffer spacing: 10 height: 24 @@ -159,7 +156,7 @@ Rectangle { HifiControls.Label { text: "Debug Framebuffer" height: 24 - anchors.left: root.left + // anchors.left: parent.left } property var config: render.mainViewTask.getConfig("DebugDeferredBuffer") @@ -171,7 +168,7 @@ Rectangle { HifiControls.ComboBox { height: 24 - anchors.right: root.right + // anchors.right: parent.right currentIndex: 0 model: ListModel { id: cbItemsFramebuffer @@ -273,5 +270,5 @@ Rectangle { } } } - } + //} }