c++ - glsl - get pixel color [pixel shader] -


is there way drawed pixel color (from backbuffer, not current drawing pixel)?

for example: i'm drawing rectangle texture , drawing circle (in blue color) on rectangle. if use pixel shader on circle, there way current pixel color backbuffer (pixel rectangle)?

i think want color of pixel frame buffer use glreadpixels() return pixel data frame buffer.

https://www.opengl.org/sdk/docs/man2/xhtml/glreadpixels.xml


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -