Original Post
Hi, i am trying to render a colored scene to grayscale. What i'm doing now is rendering the scene, copying it to a GL_LUMINANCE8 texture and drawing that texture to the framebuffer. This works great but GL_LUMINANCE8 gives me very bad performance, i get about one tenth the framerate i get when i just use gl_rgb8. I guess this is because of the per pixel luminance calculation. Is there a way around this problem, or is there a cheaper way to create greyscale? The code has to run without the use of pixelshaders. I don't really care about the greyscale quality, as long as it's 8 bit and roughly (r+g+b)/3, it doesn't have to be some official luminance calculation.