Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I would like to use OpenGL to downsize images, using shaders. I would be very grateful, if somebody can give me a sample program in C++, which loads bitmap texture, draws it to the entire screen and allows to apply GLSL vertex/fragment shaders.

I just need a template to start with. Please

share|improve this question
Why do you think you need shaders just to down sample an image? Just rendering the texture on a "full screen" quad to an FBO of the desired size should work. – Sean Middleditch Apr 24 at 21:39
You've been on gamedev long enough that you should know that this isn't a "give me teh codez!" service. – Nicol Bolas Apr 25 at 13:20

closed as not constructive by Sean Middleditch, Anko, Jimmy, msell, bummzack Apr 25 at 7:41

As it currently stands, this question is not a good fit for our Q&A; format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.