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.
Comments
Post a Comment