diff --git a/app/qml/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml index 1e6d2a0..f1ecfdb 100644 --- a/app/qml/PreprocessedTerminal.qml +++ b/app/qml/PreprocessedTerminal.qml @@ -312,6 +312,10 @@ Item{ blending: false fragmentShader: + "#ifdef GL_ES + precision mediump float; + #endif\n" + + "uniform lowp float qt_Opacity;" + "uniform lowp sampler2D txt_source;" + diff --git a/app/qml/ShaderTerminal.qml b/app/qml/ShaderTerminal.qml index 42d7356..5040cb2 100644 --- a/app/qml/ShaderTerminal.qml +++ b/app/qml/ShaderTerminal.qml @@ -151,6 +151,10 @@ ShaderEffect { }" fragmentShader: " + #ifdef GL_ES + precision mediump float; + #endif + uniform sampler2D source; uniform highp float qt_Opacity; uniform highp float time; diff --git a/app/qml/frames/utils/TerminalFrame.qml b/app/qml/frames/utils/TerminalFrame.qml index 093b2b5..a708a59 100644 --- a/app/qml/frames/utils/TerminalFrame.qml +++ b/app/qml/frames/utils/TerminalFrame.qml @@ -120,6 +120,10 @@ Item{ blending: true fragmentShader: " + #ifdef GL_ES + precision mediump float; + #endif + uniform highp sampler2D normals; uniform highp sampler2D source; uniform lowp float screenCurvature; @@ -181,6 +185,10 @@ Item{ blending: true fragmentShader: " + #ifdef GL_ES + precision mediump float; + #endif + uniform sampler2D lightMask; uniform sampler2D reflectionSource; uniform lowp float diffuseComponent;