-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

