PDA

View Full Version : Check if framebuffer or stencilbuffer changed



olmeca
05-08-2005, 12:22 PM
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

MickeyMouse
05-08-2005, 12:39 PM
You need occlusion queries (http://oss.sgi.com/projects/ogl-sample/registry/ARB/occlusion_query.txt) .

olmeca
05-09-2005, 02:31 AM
Fine thanks! That solved the problem.