Bloom quality is now customizable in performance tab.

This commit is contained in:
Filippo Scognamiglio
2014-09-30 00:57:57 +02:00
parent cc72a28ee3
commit ba77e21817
3 changed files with 57 additions and 13 deletions

View File

@@ -303,14 +303,15 @@ Item{
// BLOOM ////////////////////////////////////////////////////////////////
Loader{
property real scaling: shadersettings.bloom_quality
id: bloomEffectLoader
active: mBloom != 0
anchors.fill: parent
width: parent.width * scaling
height: parent.height * scaling
sourceComponent: FastBlur{
radius: 48
radius: 48 * scaling
source: kterminal
transparentBorder: true
smooth: false
}
}
Loader{
@@ -319,7 +320,7 @@ Item{
sourceComponent: ShaderEffectSource{
sourceItem: bloomEffectLoader.item
hideSource: true
smooth: false
smooth: true
}
}