Page 1 of 1

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

Posted: Sun Sep 09, 2012 8:22 pm
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

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

Posted: Sun Sep 09, 2012 9:31 pm
by OV2
Many shaders need bilinear filtering disabled, that's normal. You could probably use a .cgp multipass file to fix it.

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

Posted: Sun Sep 09, 2012 11:20 pm
by lelou
.cgp multipass ? sorry i am kinda new to this ^^; where do i find this file ?

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

Posted: Sun Sep 09, 2012 11:51 pm
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.

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

Posted: Mon Sep 10, 2012 12:08 am
by lelou
This worked! Thank you very much! :D