Fix fxaa with float FBO
FXAA filter creates a GL_RGB8 texture resulting in a clamping of values in the current fbo if it is in a floating point format.
This MR fixes this issue by creating a texture with the same format as the current color attachment.
This MR also fix CopyFromFrameBuffer
method that was incorrectly using Format
instead of InternalFormat
.
Edited by Michael Migliore