Shaders used as texture filters

Hi everyone,

is libretro going to provide an API for texture filtering. Currently the shaders are fullscreen filters.

However the PSX, Saturn, N64 together with the DS and PSP generation have pixel textures. Emulators like mupen64 together with Glide64mk2 or PPSSPP try to filter the textures with shaders.

The question is, would it be possible to add this feature in libretro as well. The combination of shaders to filter textures would be awesome. I only see the difficulty to distinguish between fullscreen shaders (currently) and texture shaders.

That has to be baked in at the core level and then presented as a core option (see also: the filtering options in mupen64plus-libretro that let you choose between nearest, bilinear and 3-point). The frontend (e.g., RetroArch) just gets a finished framebuffer that it then can apply post-processing to, but by then it’s too late to touch the textures.

I see thanks. But that means the core has to provide slang support to use the already ported shaders.