Skip to content

Add custom metal shaders as video filters (+ support for slang shaders) #4825

Description

@M-A-Boucher

I'll admit this feature request is a long shot and has niche applications (and can be closed right away if deemed ridiculous or too difficult to implement).

I'd love to see slang shader support as possible video filters (https://shader-slang.org). Examples of them being used are in RetroArch (https://www.retroarch.com) (and to some degree OpenEmu), to simulate CRT, NTSC/PAL effects, to scale low resolution images to something higher definition using edge smoothing (Pixelate creates low resolution from high resolution, edge smoothing scalers create high resolution out of low resolution).

Activity

  1. waydabber commented on Nov 12, 2025

    @waydabber
    Owner

    Huhh. This would be fun indeed. Maybe I'll get there one day. Added as enhancement request. :)

  2. waydabber commented on Nov 12, 2025

    @waydabber
    Owner

    But it could be possible as Slang can be compiled to Metal shaders it seems. Current filters are all CoreImage based, but I wanted to add room for custom Metal shaders as well. So this could actually work nicely.

  3. changed the title [-]Add slang shaders as filters[/-] [+]Add custom metal shaders as video filters (+ support for slang shaders)[/+] on Nov 12, 2025
  4. derpyjoystick commented on Nov 20, 2025

    @derpyjoystick

    I second this. I often play old games thru emulators and all have their own shaders to varying qualities. Check out OpenEmu, public code and they do a great job as they are macOS only. But having that effect globally is the dream. No one has even done anything like it and I’ve looked it. 😬

  5. M-A-Boucher commented on Apr 1, 2026

    @M-A-Boucher
    Author

    Found this https://dirkwhoffmann.github.io/RetroVisor/ as a possible example.

  6. M-A-Boucher commented on May 1, 2026

    @M-A-Boucher
    Author

    If also (if even possible) paired with this https://github.com/SnowflakePowered/librashader, it would be 😙👌

  7. derpyjoystick commented on May 2, 2026

    @derpyjoystick

    If also (if even possible) paired with this https://github.com/SnowflakePowered/librashader, it would be 😙👌

    this would be ideal as RA ships with hundreds of shaders. But even basic support for GOEM would be a game changer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    PIP/StreamPIP or full screen streamingenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions