Hi all,
I want to use a custom fragment shader when rendering a Image item. Is it
possible to set the shader to use directly somehow? That is, I want to use
a custom shader instead of the passthrough fragment shader used in the
Image element.
I have tried using the QtGraphicalEffects
The shader code is hard-wired into the relevant material in the
qtdeclarative module and there is no way to replace it at present (that
I know of) apart from altering the source and building a customised
version. Maybe Gunnar knows of way?
Another option would be to write yourself a custom
Hi Sean, thanks for the reply! Yes I think I'll have to go for the second
option there, writing my own CustomImage based on the original Image source
code.
I'll post a feature request on the bug tracker, let's see what happens.
By the way, I browsed a bit through the Qt source tree for glsl
. oktober 2013 15:20
To: interest@qt-project.org
Emne: [Interest] use custom fragment shader for Quick2 Image item
Hi all,
I want to use a custom fragment shader when rendering a Image item. Is it
possible to set the shader to use directly somehow? That is, I want to use a
custom shader instead