An emboss effect. 更多...
import 语句: | import QtQuick3D.Effects 6.5 |
使用 ExtendedSceneEnvironment , MultiEffect , or user-defined effects via the Effect type instead.
警告: All pre-made standalone effects in QtQuick3D .Effects are considered deprecated starting with Qt 6.5. Applications are advised to use ExtendedSceneEnvironment or MultiEffect instead, when applicable, or alternatively provide their own custom post-processing effect via the Effect 类型。
The Emboss effect replaces each pixel either by a highlight or a shadow, depending on light/dark boundaries on the scene. Low contrast areas are replaced by a gray background. The embossed result represents the rate of color change at each location.
amount : real |
The strength of the emboss effect. Sensible values are in the range
[0...0.01]
。默认值为
0.003
.