浏览代码

Turns out the Emboss effect artifacts pretty hard with smooth off

Change-Id: I36f434479bfd421ab7f7a6f6ecc6c113865e0a41
Donald Carr 9 年之前
父节点
当前提交
a427fa2e51
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      qml/VisualEffect.qml
  2. 0 1
      qml/main.qml

+ 1 - 1
qml/VisualEffect.qml

@@ -12,7 +12,7 @@ Item {
 
     ShaderEffectSource {
         id: effectSource
-        smooth: settings.smoothedEffects
+        smooth: true
         hideSource: true
         sourceItem: target
     }

+ 0 - 1
qml/main.qml

@@ -14,7 +14,6 @@ Window {
         property int columnCount: 5
         property int interval: 5
         property real pace: 1
-        property bool smoothedEffects: false
         property bool viewItemCount: false
         property bool globalWorld: false
         // Very computationally heavy: 40% vs 20% for 0.1 vs 0