Sign in to follow this  
JohnnyCode

rendering to FBO's while sapmling its texture

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this