Mipmapping on imageoverlay

classic Classic list List threaded Threaded
1 message Options
Hannes Naude Hannes Naude
Reply | Threaded
Open this post in threaded view
|

Mipmapping on imageoverlay

Hi all

In my application I display an imageoverlay, which reads the source data from a video file using ffmpeg. It works, but is giving me rather severe aliasing. Obviously I need to enable mipmapping, but it seems from the ImageOverlay.cpp that the default value for minFilter is already LINEAR_MIPMAP_LINEAR.

This suggests that the issue is actually that the texture does not have multiple mipmap levels. But as far as I can tell the hardware should autogenerate the mipmap levels as soon as the texture is bound. What am I missing?

Regards
Hannes Naude