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) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -