diff options
Diffstat (limited to 'src/quick/scenegraph/shaders/smoothtexture.frag')
-rw-r--r-- | src/quick/scenegraph/shaders/smoothtexture.frag | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/quick/scenegraph/shaders/smoothtexture.frag b/src/quick/scenegraph/shaders/smoothtexture.frag new file mode 100644 index 0000000000..e4f6359f3d --- /dev/null +++ b/src/quick/scenegraph/shaders/smoothtexture.frag @@ -0,0 +1,9 @@ +uniform sampler2D qt_Texture; + +varying highp vec2 texCoord; +varying lowp float vertexOpacity; + +void main() +{ + gl_FragColor = texture2D(qt_Texture, texCoord) * vertexOpacity; +}
\ No newline at end of file |