csinkers / ualbion

A remake of the 1995 RPG Albion (requires data from an install of the original game)
MIT License
133 stars 11 forks source link

Improve texture filtering on 3D levels #34

Open csinkers opened 3 years ago

csinkers commented 3 years ago

Currently 3D levels just use point samplers, experiments with various mip-mapping, anisotropy and mag filter settings should be made to find the optimal texture sampling method that looks good but maintains the feel of the original game.

FyiurAmron commented 3 years ago

can this be something that a user configures in gfx config menu? Most games (especially older ones) allow the player to select both the filtering (nearest neigh/bi/trilinear), anisotropy (usually from x2 to x16) and antialiasing exactly as he wishes, without imposing a single fixed solution here. This would both improve the player's experience and would take the onus of "selecting proper settings" from dev to the user.

FWIW, the "original" feel is just nearest neighbour, no bells nor whistles.

(also, allowing e.g. xBRZ as an additional feature the way https://github.com/M-HT/SR does for Albion 2D views would, IMO, tremendously enhance the experience for either those who don't care about vanilla if they can have the game look a lot better, or those who are aware of the way that original CRT screens smoothed the pixels in low resolutions somewhat by themselves :)

csinkers commented 3 years ago

All sounds reasonable. I'll probably make it config driven as part of this job and then add the UI in a separate one.