Check if framebuffer or stencilbuffer changed

Hi,

I need to check if a shader changed at least one pixel of the framebuffer. Is there a solution without checking every pixel after the shader executed?

thx

You need occlusion queries .

Fine thanks! That solved the problem.