SCurveTonemap QML Type

A tonemapping effect. 更多...

import 语句: import QtQuick3D.Effects 6.7
状态: Deprecated since 6.5

This type is deprecated since QtQuick3D.Effects 6.5. We strongly advise against using it in new code.

特性

详细描述

使用 ExtendedSceneEnvironment 代替。

警告: All pre-made standalone effects in QtQuick3D .Effects are considered deprecated starting with Qt 6.5. To control tonemapping, use ExtendedSceneEnvironment 代替。

The SCurveTonemap effect maps the luminance of each pixel in the Scene according to an s-shaped curve:

The curve has three parts. The toe area determines the shadows, and is governed by toeSlope and toeEmphasis . The middle part determines overall contrast, and is changed by contrastBoost shoulder area determines the highlights, and is governed by shoulderSlope and shoulderEmphasis .

特性文档编制

contrastBoost : real

Enhances or reduces the overall contrast of the tonemap. This changes the slope of the middle part of the s-curve.

The range is [-1...2] 。默认值为 0 .

exposureValue : real

Specifies the exposure for the tonemap effect. This value is only used if useExposure is true . The range is [0.01...16] 。默认值为 1 .

gammaValue : real

Sets the gamma value for the tonemap effect. Sensible values are in the range [0.1...8] 。默认值为 2.2 .

saturationLevel : real

Sets the overall saturation level of the tonemap effect. The range is [0...2] ,采用 0 being fully grayscale and 2 being very oversaturated. The default value is 1 .

shoulderEmphasis : real

Modifies the shape of the shoulder part of the s-curve. The range is [-1...1] 。默认值为 0 .

另请参阅 shoulderSlope .

shoulderSlope : real

Sets the slope of the shoulder part of the s-curve. The shoulder defines where highlights lose contrast.

The range is [0...3] 。默认值为 1 .

另请参阅 shoulderEmphasis .

toeEmphasis : real

Modifies the shape of the toe part of the s-curve. The range is [-1...1] 。默认值为 0 .

另请参阅 toeSlope .

toeSlope : real

Sets the slope of the toe part of the s-curve. The toe defines where shadows lose contrast.

The range is [0...3] 。默认值为 1 .

另请参阅 toeEmphasis .

useExposure : bool

Makes the effect use whitePoint 而不是 exposureValue for luminance calculations. The default value is false .

whitePoint : real

Sets the white point of the tonemap. This value is only used if useExposure is false . The range is [0.01...128] 。默认值为 1 .

内容