Bilinear Filtering + 5xBR-v3.7c.cg Glitch

If you're having problems with Snes9x, or think you've found a bug, this is the place to be.
Post Reply
User avatar
lelou
Snes9x White Belt
Posts: 3
Joined: Sun Sep 09, 2012 7:26 pm

Bilinear Filtering + 5xBR-v3.7c.cg Glitch

Post by lelou »

When I enable Bilinear Filtering with any shader this happens:
http://i1062.photobucket.com/albums/t48 ... 8858cc.jpg

Without Bilinear Filtering:
http://i1062.photobucket.com/albums/t48 ... db405b.jpg

I normally use Bilinear Filtering with other shaders or filters to smoothen out the edges in other emulators.

Output Image Processing Filters are working normally with Bilinear Filtering.

Whats the cause of this Glitch ? it also happens with OpenGL.

Themaister Emulator Shader Pack & libretro common shaders have the same issue. CG shaders

I have the cg dll's in the folder.

Video Card: Mobility Radeon HD 5650
User avatar
OV2
Official Win32 Porter/Dev
Posts: 679
Joined: Thu Aug 30, 2007 10:15 pm

Re: Bilinear Filtering + 5xBR-v3.7c.cg Glitch

Post by OV2 »

Many shaders need bilinear filtering disabled, that's normal. You could probably use a .cgp multipass file to fix it.
User avatar
lelou
Snes9x White Belt
Posts: 3
Joined: Sun Sep 09, 2012 7:26 pm

Re: Bilinear Filtering + 5xBR-v3.7c.cg Glitch

Post by lelou »

.cgp multipass ? sorry i am kinda new to this ^^; where do i find this file ?
User avatar
OV2
Official Win32 Porter/Dev
Posts: 679
Joined: Thu Aug 30, 2007 10:15 pm

Re: Bilinear Filtering + 5xBR-v3.7c.cg Glitch

Post by OV2 »

.cgp files can be used to combine multiple .cg shaders - they are simple textfiles that specify various parameters, as explained in the readme here: https://github.com/Themaister/Emulator- ... /Cg/README
In your case you can use it with only one shader, specify that it should run with no bilinear filtering, and then let s9x output that with bilinear filter enabled. Here is a sample for 5xbr:

Code: Select all

shaders = 1
shader0 = 5xBR-v3.7c.cg
scale_type0 = source
scale0 = 5.0
filter_linear0 = false
Save that as something.cgp, place it next to 5xBR-v3.7c.cg and load it in s9x.
User avatar
lelou
Snes9x White Belt
Posts: 3
Joined: Sun Sep 09, 2012 7:26 pm

Re: Bilinear Filtering + 5xBR-v3.7c.cg Glitch

Post by lelou »

This worked! Thank you very much! :D
Post Reply