ChromaticAberration QML Type

A chromatic aberration effect. 更多...

导入语句: import QtQuick3D.Effects 1.15

特性

详细描述

In real life, chromatic aberration is an optical phenomenon causing color fringes in high contrast areas. These color fringes are caused by different colors refracting at different angels splitting white light into a spectrum. This is called dispersion.

特性文档编制

aberrationAmount : real

Amount of aberration. A negative value inverses the effect. 50 在默认情况下。


focusDepth : real

Dispersion scales in relation to the distance from this value. 600 在默认情况下。


maskTexture : TextureInput

A grayscale texture to control position and strength of the effect. The effect is strongest in white areas, and weakest in black areas. Default is a Texture with source "maps/white.png" .