I have a QGLWidget that displays some graphics. Among other things I have depthmap shadows and when i open another qwidget on top of the qglwidget the shadows are affected probably because the depthmap is affected by other windows covering. Is there some way to solve this ?