Is it possible to sample pixels from a ofTexture and then redraw specific pixels in the form of a brush? If so, how would I do that?

Is it possible to sample pixels from a ofTexture and then redraw specific pixels in the form of a brush? If so, how would I do that?

Hi,
examples/shader/07_fboAlphaMask uses a brush, there the ofFbo is used as an alpha-mask, but you could draw it directly to screen.

1 Like