From fa59bb06b1c6cf55df2bc00bdec07985190f9a82 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Mon, 15 Dec 2014 22:24:57 +0100 Subject: [PATCH] Fix: Add static noise when horizontal distortion is activated. --- app/qml/ShaderTerminal.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/qml/ShaderTerminal.qml b/app/qml/ShaderTerminal.qml index 5bb59a0..101dab0 100644 --- a/app/qml/ShaderTerminal.qml +++ b/app/qml/ShaderTerminal.qml @@ -238,7 +238,9 @@ ShaderEffect { (horizontal_sincronization !== 0 ? " float dst = sin((coords.y + time * 0.001) * distortionFreq); - coords.x += dst * distortionScale;" + coords.x += dst * distortionScale;" + + (noise_strength ? " + noise += distortionScale * 3.0;" : "") : "") + (jitter !== 0 || noise_strength !== 0 ?