RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    What shaders do you guys use for Arcade emulation?

    Scheduled Pinned Locked Moved General Discussion and Gaming
    shadersfbamame
    15 Posts 7 Posters 8.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RedBatmanR
      RedBatman @caver01
      last edited by

      @caver01 Crt-pi is good, but it's a little too dark for me.

      caver01C 1 Reply Last reply Reply Quote 1
      • caver01C
        caver01 @RedBatman
        last edited by

        @redbatman Fair enough, but you might be able to adjust the parameters to lighten it to your taste without changing the performance at all. For example, davej has provided some details about how you can lighten or darken the shadow mask and scanline effects which will have an overall effect on the brightness of various artifacts in THIS POST.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        RedBatmanR 1 Reply Last reply Reply Quote 1
        • RedBatmanR
          RedBatman @caver01
          last edited by RedBatman

          @caver01 I do use the Crt-pi shader for Nes games though, since it fits perfectly.

          1 Reply Last reply Reply Quote 0
          • CapemanC
            Capeman
            last edited by

            Nearest Neighbor, the good ol default no-shader solution. Oh the delicious chunky pixels!

            Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

            1 Reply Last reply Reply Quote 2
            • AddisonA
              Addison
              last edited by

              Was going to make a topic on this myself but the forum suggested that I come here instead.

              But yeah, I wanted to say that I use Crt-pi myself.

              I find it to be quite wonderful.

              Was hoping for other opinions though, but it seems like most people here just enjoy the default video settings.

              DarksaviorD 1 Reply Last reply Reply Quote 0
              • DarksaviorD
                Darksavior @Addison
                last edited by

                @addison I switched to the glcore driver in retroarch so I could use the slang version of the crt-pi shader. It's not as blurry as the gl version. You'll need to add the slang shaders to retropie yourself.

                I actually prefer the crt-royale shader but it doesn't work on the pi. It would probably be too slow if it did.

                davejD 1 Reply Last reply Reply Quote 1
                • davejD
                  davej @Darksavior
                  last edited by

                  @darksavior said in What shaders do you guys use for Arcade emulation?:

                  @addison I switched to the glcore driver in retroarch so I could use the slang version of the crt-pi shader. It's not as blurry as the gl version. You'll need to add the slang shaders to retropie yourself.

                  The difference you're seeing between the GL and slang versions of crt-pi is because there's a bug in the crt-pi.slangp file. All the crt-pi shaders require the use of linear filtering to work correctly and the crt-pi.slangp file has the wrong setting. I've raised an issue to get it corrected.

                  If you find crt-pi too blurry, the 'official' solution is to edit the glsl/slang files to enable the SHARPER functionality.

                  Look for the

                  //#define SHARPER
                  

                  line and change it to

                  #define SHARPER
                  

                  davej

                  AddisonA 2 Replies Last reply Reply Quote 2
                  • AddisonA
                    Addison @davej
                    last edited by

                    @davej
                    Where is that file located so I can use your edit suggestion?

                    Please and thank you.

                    davejD 1 Reply Last reply Reply Quote 0
                    • davejD
                      davej @Addison
                      last edited by

                      @addison said in What shaders do you guys use for Arcade emulation?:

                      @davej
                      Where is that file located so I can use your edit suggestion?

                      Please and thank you.

                      I'm not the best person to answer that because I don't have a normal retropie installation. I think it's in

                      /opt/retropie/configs/all/retroarch/shaders/shaders/crt-pi.glsl
                      

                      To guard against updates overwriting it, it might be better if you copy the file (calling it something like crt-pi-sharper.glsl) and make the change there. You'll need a corresponding crt-pi-sharper.glslp file - they are stored in the directory above the .glsl files.

                      Hopefully someone will provide the correct information if I've got it wrong.

                      1 Reply Last reply Reply Quote 1
                      • AddisonA
                        Addison @davej
                        last edited by Addison

                        @davej
                        I copied and renamed crt-pi.glslp to crt-pi-sharper.glslp

                        /opt/retropie/configs/all/retroarch/shaders/crt-pi-sharper.glslp

                        shaders = "1"
                        shader0 = "shaders/crt-pi.glsl"
                        filter_linear0 = "true"
                        wrap_mode0 = "clamp_to_border"
                        mipmap_input0 = "false"
                        alias0 = ""
                        float_framebuffer0 = "false"
                        srgb_framebuffer0 = "false"
                        

                        What is needed to edit this?

                        //#define SHARPER
                        

                        That is not located here like you mentioned.

                        Cheers. :)

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @Addison
                          last edited by

                          @addison said in What shaders do you guys use for Arcade emulation?:

                          That is not located here like you mentioned.

                          Are you sure ? You've actually edited the shader preset (.glslp) and not the shader itself (.glsl).

                          AddisonA 1 Reply Last reply Reply Quote 1
                          • AddisonA
                            Addison @mitu
                            last edited by Addison

                            @mitu
                            I'm not sure what you mean.

                            I copied the file location folder and file names while in WinSCP.

                            I didn't type anything of those out by hand.

                            So I don't think I made a mistake.

                            Edit:

                            Ooh.

                            I read your message wrong, along with Dave's. :/

                            Going to go back and look again.

                            Thanks Mitu!

                            1 Reply Last reply Reply Quote 0
                            • AddisonA
                              Addison
                              last edited by Addison

                              I missed that the folder was shaders/shaders and not just /shaders.

                              Sometimes I can be too stupid to live. :D

                              Anyway, I applied the sharper settings and it's absolutely stunning.

                              It makes the display I was using before seemed smudged as compared to now.

                              I'm keeping this Shader forever since it looks so good.

                              Thank you all. :)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.