ChromaticAberration QML Type
A chromatic aberration effect. More...
|Import Statement:||import QtQuick3D.Effects 1.15|
- aberrationAmount : real
- focusDepth : real
- maskTexture : TextureInput
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 by default.
focusDepth : real
Dispersion scales in relation to the distance from this value.
600 by default.
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
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.