You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, you cannot specify the mag-filter of the render target color texture of the fbo in the API. But I think it would be useful if you could do that. My use case of that would be the following: In order to save performance, I am rendering to an FBO that is half the size of the screen(instead of the full screen size). I then use that FBO in a fullscreen pass in a shader. But since the mag-filter is always GL_NEAREST, this results in terrible artefacts(notice the artefacts in the bottom):
But if I change the mag-filter to GL_LINEAR, the problem is solved:
For this reason, I think it would be good if you could change the mag-filter through the API. Is it possible to add this feature to the API?
The text was updated successfully, but these errors were encountered:
Right now, you cannot specify the mag-filter of the render target color texture of the fbo in the API. But I think it would be useful if you could do that. My use case of that would be the following: In order to save performance, I am rendering to an FBO that is half the size of the screen(instead of the full screen size). I then use that FBO in a fullscreen pass in a shader. But since the mag-filter is always GL_NEAREST, this results in terrible artefacts(notice the artefacts in the bottom):
But if I change the mag-filter to GL_LINEAR, the problem is solved:
For this reason, I think it would be good if you could change the mag-filter through the API. Is it possible to add this feature to the API?
The text was updated successfully, but these errors were encountered: