1
Feature requests / Re: Mipmapping for OpenGL texture creation?
« on: January 30, 2024, 04:02:36 am »Mipmapping doesn't help at all, it's even worse than bilinear filtering without mipmaps; I think it's just an optimization, it's not meant to provide better resultsI understand that I reply to 12yo topic, but! Of course mipmaps is for better results. If you're showing texture that has bigger resolution than you're drawing on screen - you absolutely need mipmaps. If you're drawing 512x512 texture in 32x32 square, what do you expect your GPU to do? It will just sample 32x32 pixels from 512x512 image, basically "skipping" the rest of the pixels, creating a noisy mess. And if move it - it's even worse, because those choosen 32x32 will changed every frame. What you want - is to sample 32x32 pixels from 32x32 image. Which is what mipmaps do for you. Cases where you don't need mipmaps are EXTREMELY rare.