mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 23:16:20 +02:00
45 lines
1.1 KiB
QML
45 lines
1.1 KiB
QML
//
|
|
// ToneMapping.qml
|
|
//
|
|
// Created by Sam Gateau on 4/17/2019
|
|
// Copyright 2019 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
import QtQuick 2.7
|
|
|
|
import "../../lib/prop" as Prop
|
|
|
|
Column {
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
Prop.PropBool {
|
|
label: "Debug"
|
|
object: Render.getConfig("RenderMainView.ToneMapping")
|
|
property: "debug"
|
|
}
|
|
Prop.PropEnum {
|
|
label: "Tone Curve"
|
|
object: Render.getConfig("RenderMainView.ToneMapping")
|
|
property: "curve"
|
|
enums: [
|
|
"RGB",
|
|
"SRGB",
|
|
"Reinhard",
|
|
"Filmic",
|
|
]
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
}
|
|
Prop.PropScalar {
|
|
label: "Exposure"
|
|
object: Render.getConfig("RenderMainView.ToneMapping")
|
|
property: "exposure"
|
|
min: -4
|
|
max: 4
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
}
|
|
}
|