PARTYMANX / partymod-thps2

A modernization patch for THPS2 on PC
MIT License
17 stars 0 forks source link

Texture Filtering Feature Request #11

Open buvk opened 5 days ago

buvk commented 5 days ago

Hey, is there any way to implement a filter that smooths the textures on 3d models, but keeps the 2d textures (E.g. menu, text) sharp?

PARTYMANX commented 1 day ago

i think this is technically possible, but it's a weird solution: UI drawing mostly gets put through a single drawing function: textured quads (which goes unused for any 3d function... i think.), i could use a different sampler for stuff going through that pretty easily i think? I'd thought about this before and I think the reason i never went through with it is the bad scaling you'd get on most of the UI in 640x480 (it's really meant for a 512-wide canvas).

I might experiment with this when i get back from SGDQ but I think i would want to get biased bilinear sampling for the regular textures in to make the scaling errors more bearable (and would require shaders to be rebuilt which adds significant resistance for me)