Dolphin, the GameCube and Wii emulator - Forums

Full Version: Scanlines filter ? i want old tv effect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

hugo vinagre

Hello all.

i'm new to this emulator, i've searched all the options , but couldnt find a scanlines filter to emulate old tvs.

in the post processing effects there are a ton of filters, less the most basic and used in emulators: scanlines.
there is one called nightvision scanlines but it's not what i want at all.
can someone help, please?

oraleemull

Thank you I will give it a look

anikom15

(10-04-2020, 05:28 AM)hugo vinagre Wrote: [ -> ]Hello all.

i'm new to this emulator, i've searched all the options , but couldnt find a scanlines filter to emulate old tvs.

in the post processing effects there are a ton of filters, less the most basic and used in emulators: scanlines.
there is one called nightvision scanlines but it's not what i want at all.
can someone help, please?

Why do you want scanlines? The Gamecube runs at 480i or ideally 480p. Neither of these modes will show scanlines on a CRT TV. Scanline shaders are needed for older consoles like the N64 and Playstation which could output at 240p. The TV would only draw half of its native resolution by skipping every other line. Thus scanlines appear when playing on a CRT TV.
2D games look better to me using a scanline filter rather then some other post processing filters that attempt to smooth the image. Especially on sprite based games like Capcom vs SNK 2, but it is personal preference.

unospacer

I also thought it was unfortunate that there was no scanline shader installed by default. I examined the nightvision scanlines shader and I did not find it too difficult to use the same basic concepts and write one on my own. I'm sharing with the rest of the community. My very first GLSL shader!  Big Grin  Hope you find it useful.

Download the file here: Scanline Effect GLSL Shader for Dolphin 5x
And put it in your Sys\Shaders folder

You should be able to configure it and get a decent scanline effect.

unospacer

Here's the new and improved version with CRT effect! It work with OGL, Vulkan, D3D11 and D3D12
https://gist.github.com/mariodivece/cfa3...5528e4edac

unospacer

(03-21-2021, 12:30 PM)unospacer Wrote: [ -> ]Here's the new and improved version with CRT effect! It work with OGL, Vulkan, D3D11 and D3D12
https://gist.github.com/mariodivece/cfa3...5528e4edac

I also made a configurable one without the flickering effect some people did not like.
https://gist.github.com/mariodivece/dab2...dec28ef92b