melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

Texture/Sprite Filtering

Open Papermanzero opened this issue 4 years ago • 7 comments

It would be great to see texture filtering and sprite filtering for 3D based games. bilinear and bicubic filtering would increase the presentation of the games on higher resolutions.

Papermanzero avatar Feb 04 '21 07:02 Papermanzero

some work for this was done on the blackmagic_II branch but it's so old I think it might be scrapped

poudink avatar Feb 04 '21 18:02 poudink

I've been poking at the OpenGL 3D renderer code a bit and the shaders already include a linear filtering option for 3D textures that's (as far as I can tell) never used but seems to work alright. Almost got it working with the frontend by adding a checkbox in the "Video settings" dialog and passing that to a new field in the shader UBO, but I must've been a bit naive with how I went about it since it never really ended up passing the parameter properly.

zephryn avatar Jun 12 '22 20:06 zephryn

It would be awesome to get texture filtering with opengl and vulkan. Bilinear, Bicubic, xbrz, etc

maybe a feature to exchange textures/sprites with texture packs would be great as well

Papermanzero avatar Feb 04 '24 19:02 Papermanzero

pretty sure the compute shader renderer will support texture replacement

sandwichwater avatar Feb 07 '24 22:02 sandwichwater

pretty sure the compute shader renderer will support texture replacement

Hopefully also filtering. Zelda with smooth textures and high res would look awesome

Papermanzero avatar Apr 20 '24 15:04 Papermanzero

hmm ive tried zelda with texture replacement and no filtering and it looked perfect to me , though different people do have different preferences so maybe it would be nice

sandwichwater avatar Apr 21 '24 20:04 sandwichwater

Thats true. I would like to keep the original look but just have the pixels of the textures smooth

Papermanzero avatar Apr 21 '24 21:04 Papermanzero