• Advertisement
Sign in to follow this  

rendering to FBO's while sapmling its texture

This topic is 3266 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Doing this is invalid, and will trigger undefined behaviour.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement