gonetz / GLideN64

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

Improvement: Add crt post filter for better native res image quality #2780

Open gizmo98 opened 1 year ago

gizmo98 commented 1 year ago

I experimented with libretro shaders and mupen64plus-next/gliden64 with nativres=1 and 320p output. Output results look interesting. 2D elements look better. Lowres textures and low polygon count get quiet good hidden. Blur caused from bad signal quality adds some edge smoothing and reduces dithering artifacts. Is there interest to add such a filter? I think i can use FXAA shader can as a template and add another post processing shader.

mk64-2 ridge racer-1

CRT shader vs bilinear and nearest: ge

Libretro forum thread examples: https://forums.libretro.com/t/please-show-off-what-crt-shaders-can-do/19193/5427?u=gizmo98 https://forums.libretro.com/t/please-show-off-what-crt-shaders-can-do/19193/5416?u=gizmo98

Libretro thread: https://forums.libretro.com/t/gizmo-slotmask-crt-shader/41594/5

gizmo98 commented 1 year ago

More examples. Nativres=1 vs Nativres=1 with CRT shader: Bakuretsi-3 - noshader Bakuretsi-3

mischief makers-2 - no shader mischief makers-2

mischief makers-3-no shader mischief makers-3

Nushi Tsuri - noshader Nushi Tsuri

Puyo3-no shader Puyo3

Puzzle League2 - no shader Puzzle League2

Yoshis Story2-no shader Yoshis Story2

Puyo2-no shader Puyo2

mischief makers-no shader mischief makers

olivieryuyu commented 1 year ago

nice

gonetz commented 1 month ago

Is there interest to add such a filter? I think i can use FXAA shader can as a template and add another post processing shader.

Yes, the results look interesting. It indeed can be added as another post-processing filter, as FXAA.