Улучшен дизайн кнопок SpinBox: добавлены современные стили, улучшена визуальная обратная связь, добавлены SVG иконки, оптимизированы размеры и отступы, улучшена читаемость значени
This commit is contained in:
1 parent
2b9165771b
commit
29dce906c5
6110 files changed
+775979
No files matched your search
@@ -0,0 +1,37 @@
|
||||
// Copyright (C) 2020 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick
|
||||
import QtQuick3D
|
||||
|
||||
Effect {
|
||||
property real shoulderSlope: 1.0 // 0.0 - 3.0
|
||||
property real shoulderEmphasis: 0 // -1.0 - 1.0
|
||||
property real toeSlope: 1.0 // 0.0 - 3.0
|
||||
property real toeEmphasis: 0 // -1.0 - 1.0
|
||||
property real contrastBoost: 0 // -1.0 - 2.0
|
||||
property real saturationLevel: 1 // 0.0 - 2.0
|
||||
property real gammaValue: 2.2 // 0.1 - 8.0
|
||||
property bool useExposure: false
|
||||
property real whitePoint: 1.0 // 0.01 - 128.0
|
||||
property real exposureValue: 1.0 // 0.01 - 16.0
|
||||
|
||||
Shader {
|
||||
id: tonemapShader
|
||||
stage: Shader.Fragment
|
||||
shader: "qrc:/qtquick3deffects/shaders/scurvetonemap.frag"
|
||||
}
|
||||
|
||||
Buffer {
|
||||
// LDR output
|
||||
id: defaultOutput
|
||||
format: Buffer.RGBA8
|
||||
}
|
||||
|
||||
passes: [
|
||||
Pass {
|
||||
shaders: [ tonemapShader ]
|
||||
output: defaultOutput
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user