This might seem like a simple question but Id like to know the fastest technique for converting an RGBA image to a grayscale image in OpenGL WITHOUT using GLSL. I.e. How do I take an RGBA texture and convert it to a plain single channel texture using the following formula:
output=0.3*RED + 0.59*GREEN + 0.11*Blue
This might seem like a simple question but Id like to know the fastest
Share
You might be able to convince
GL_DOT3_RGBto do what you want.