gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
754 stars 174 forks source link

GlideN64 doesn't generate runtime mipmaps for textures like Glide64 did #2758

Open blackhand1001 opened 1 year ago

blackhand1001 commented 1 year ago

The old Glide64 plugin generated mipmaps during load that were used be the actual renderer to make the textures render smoothly at a distance and to enable proper anisotropic filtering. GlideN64 on the other hand does not do this and renders completely without generated mipmaps. Its very noticeable on the floor in bunker but is also noticeable on any texture in the distance.

Glide64 (working generated mipmaps) Glide64_GOLDENEYE_02

GlideN64 (no mip maps generated) GLideN64_GOLDENEYE_005

This issue occurs in both games that have built in mip maps and without as the issue is on the opengl side. Likely we need to be running something like glGenerateMipmap() at some point when applying the textures to the scene.

blackhand1001 commented 1 year ago

I actually think this might be related to this. https://github.com/gonetz/GLideN64/issues/2751

Xii-Nyth commented 1 year ago

anisotropic filtering would very much be the last thing on the list to fix... that said mipmaps sould be generating properly