bsnes-emu / bsnes

bsnes is a Super Nintendo (SNES) emulator focused on performance, features, and ease of use.
Other
1.64k stars 154 forks source link

How do I make CRT-Royale shader flat? #264

Closed Miriyo closed 1 year ago

Miriyo commented 1 year ago

I know that's not even an issue but I searched everywhere on Google and I couldn't find it, is there any way to do it? Sorry if I'm being inconvenient. Also, how do I bind two or more buttons to the same input? Is that possible? Thanks for your attention

Kawa-oneechan commented 1 year ago

I would test this myself but CRT-Royale doesn't work on my system.

But if I had to guess, I'd open Shaders\CRT-Royale.shader\manifest.bml in my favorite plaintext editor and comment out the last pass, from line 207 to 211, thus skipping the final curvature. Like this:

  vertex: bloom-horizontal-reconstitute.vs
  fragment: bloom-horizontal-reconstitute.fs

// Pass 11: Compute curvature/AA:
//program
//  filter: linear
//  format: rgba16f
//  vertex: geometry-aa-last-pass.vs
//  fragment: geometry-aa-last-pass.fs

output
  filter: nearest

As for multiple inputs... image Is that not what the "Mapping" columns are for? I just tested this with the Start button and it seemed to work.

Miriyo commented 1 year ago

Thank you! It really did removed the curvature. I hadn't noticed the Mapping column lol, thanks again.