diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/shared/shaders/gradient2.frag')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/shared/shaders/gradient2.frag | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/shared/shaders/gradient2.frag b/tests/manual/scenegraph_lancelot/data/shared/shaders/gradient2.frag new file mode 100644 index 0000000000..5f07e56d4a --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/shared/shaders/gradient2.frag @@ -0,0 +1,6 @@ +uniform lowp sampler2D source; +varying highp vec2 qt_TexCoord0; +uniform lowp float qt_Opacity; +void main() { + gl_FragColor = vec4(qt_TexCoord0.x, qt_TexCoord0.y, 0, 1) + texture2D(source, qt_TexCoord0); +} |