Is it possible to switch between texture filtering modes?
What I want to do is draw some textures using mipmaps and others using just linear filtering.
I call glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
when I want to draw textures using mipmap filtering
and glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
when I want to draw textures using using linear filtering.
But it doesn’t seem to work.
Any idea why?