mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-07 13:41:27 +00:00
Fix: added missing default precision directives in fragment shaders
This commit is contained in:
parent
edad3ab28c
commit
f1a6c0fcee
@ -312,6 +312,7 @@ Item{
|
|||||||
blending: false
|
blending: false
|
||||||
|
|
||||||
fragmentShader:
|
fragmentShader:
|
||||||
|
"precision highp float;" +
|
||||||
"uniform lowp float qt_Opacity;" +
|
"uniform lowp float qt_Opacity;" +
|
||||||
"uniform lowp sampler2D txt_source;" +
|
"uniform lowp sampler2D txt_source;" +
|
||||||
|
|
||||||
|
@ -151,6 +151,8 @@ ShaderEffect {
|
|||||||
}"
|
}"
|
||||||
|
|
||||||
fragmentShader: "
|
fragmentShader: "
|
||||||
|
precision highp float;
|
||||||
|
|
||||||
uniform sampler2D source;
|
uniform sampler2D source;
|
||||||
uniform highp float qt_Opacity;
|
uniform highp float qt_Opacity;
|
||||||
uniform highp float time;
|
uniform highp float time;
|
||||||
|
@ -120,6 +120,8 @@ Item{
|
|||||||
blending: true
|
blending: true
|
||||||
|
|
||||||
fragmentShader: "
|
fragmentShader: "
|
||||||
|
precision highp float;
|
||||||
|
|
||||||
uniform highp sampler2D normals;
|
uniform highp sampler2D normals;
|
||||||
uniform highp sampler2D source;
|
uniform highp sampler2D source;
|
||||||
uniform lowp float screenCurvature;
|
uniform lowp float screenCurvature;
|
||||||
@ -181,6 +183,8 @@ Item{
|
|||||||
blending: true
|
blending: true
|
||||||
|
|
||||||
fragmentShader: "
|
fragmentShader: "
|
||||||
|
precision highp float;
|
||||||
|
|
||||||
uniform sampler2D lightMask;
|
uniform sampler2D lightMask;
|
||||||
uniform sampler2D reflectionSource;
|
uniform sampler2D reflectionSource;
|
||||||
uniform lowp float diffuseComponent;
|
uniform lowp float diffuseComponent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user