Yeah if I don’t draw anything into the new “g” graphics context, my other stuff still draws. But if I do g.fillAll() with a colour it covers everything up.
Sure! maybe it would be helpful to explain. Basically I’m drawing real-time 2D phase correlation squiggels with shaders. That all works fine but what I’m trying to do is “fill-all” a semi-transparent overlay on top every frame so as it draws, it slowly fades out. Similar to analog instruments. Now I have that working already using the paint() function where it fills all with the semi-transparent overlay but because it happens last in the pipeline, the initial drawing never shows in it’s real colour, it starts already slightly greyed out on every frame. That’s why I’m trying to figure out a way to fillAll earlier. Does that make sense?
The OpenGLHelpers::clear doesn’t work in this instance because it clears everything immediately.