ShaderEffect Dependencies
Unsolved
QML and Qt Quick
-
Hello, i'm currently integrating a post-processing antialiasing technique to my Qt Application.
The technique requires multiple-pass rendering. where each pass requires a texture of the previous pass.
Below qml code is the structure of the rendering process.Item { Image { id: img ... } layer.enabled: true layer.effect: fx Component { id: fx ShaderEffect { id: D source1: A source2: C ShaderEffect { id: C source: B } ShaderEffect { id: B source: A } ShaderEffect { id: A ... } } } }
But when i do this the application is showing just black screen, i used renderdoc to debug the GPU pipeline state.
From there what i found out was, only ShaderEffect D is bound but other ShaderEffect did not get executed.
I think i'm doing a mistake with QML bindings, please help if you know what i'm doing wrong here.Thanks