rendering to FBO's while sapmling its texture

Started by
0 comments, last by Yann L 15 years, 1 month ago
hello, I have a FBO and a texture attached to its color attachment. While the FBO is bound I take the FBO's attachment texture and use it as a sampler in my shader... I render so that the shader output goes to bound FBO. But I get a strange artifact on my FBO texture no matter what my shader looks like, the artefact is the same. So can I use the bound FBO's texture and use it as a sampler in a shader that outputs to the FBO?
Advertisement
Doing this is invalid, and will trigger undefined behaviour.

This topic is closed to new replies.

Advertisement