[solved] QML and fragment shader
-
Hi,
I've been playing with opengl through QML for some time, and now I want to add a fragment shader for implementing filter active on the QML component already drawn on scene (such as a blur on a part of a rectangle and an image). But the way I know for using shader is :
@enable shader
drawing stuff
disable shader@But this is not possible in QML and I wish I could use shader like a layer, did you know a way ?
Thanks
-
Essentially render to texture. According to this http://labs.qt.nokia.com/2011/03/22/the-convenient-power-of-qml-scene-graph/ it is possible.