following my another question I have studied in the documentations that I should use this procedure :
Define the texture filter parameters. This will control what happens when a texture is scaled up or down.
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER,filter); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,filter);
where filter is:
GL_NEARESTspecifies that point sampling is to be used when the texture map needs to be magnified or minified.
GL_LINEARspecifies that bilinear interpolation among the four nearest neighbors is to be used when the texture map needs to be magnified or minified.
but since my program is all about image processing and applying different filters on an image, I don't want to apply extra filters to the image. Is there any way to apply the textures without filtering?