-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRT-Royale support #223
Comments
I've found that it's actually possible to run CRT-Royale with vkBasalt, with some edits to the shader:
With these changes, it seems that CRT-Royale works fine via vkBasalt. However, specifying an antialias value other than 0 (default) still crashes the compiler. I suspect that updating the ReShade submodule in vkBasalt would resolve most of these issues, however, I'm not sure if that's an easy task. |
On a broader note, you really have to wonder if vkBasalt couldn't use librashader to support RA shaders. I think that's been suggested here in another issue. I might end up attempting to do this myself and opening a PR, but, not sure what I'd be getting into 😅. The thing that sparks my interest in vkBasalt, is that you can use it with gamescope and apply raster-based shaders to the entire texture that gamescope produces. That isn't currently possible with gamescope alone, even though gamescope also has limited support for ReShade shaders. And this works for any game whether or not the game itself uses Vulkan, pending at least that you have a recent build of gamescope and ideally an AMD graphics card for the time being. |
As a side note.. I was able to fix antialiasing as well. In Output looks identical now to native ReShade, AFAICT. Still, not sure if it's worth pushing anything upstream to CRT-Royale reshade. But if anyone wants the vkBasalt-compatible version, let me know. |
I read your first and second comments but I don't have experience with shaders at all. If you could share it it would be much appreciated. Others would benefit as well. 😊 |
I'm currently looking into building a Vulkan layer with librashader support. A bit new to Vulkan, and somewhat new to graphics pipelines themselves, outside of shaders a-la ReShade.. so we'll see how that goes. Decided to start from scratch here just to make things simpler from my side of things, but assuming all goes well if @DadSchoorse would prefer I would have no problem with pushing this upstream to eventually add librashader to vkBasalt. But, no promises here -- this really depends on what free time I have, and also my ability 😅. In the meantime, I'll push a repository with a version of CRT-Royale that works on vkBasalt. This will probably be a temporary thing, I may immediately archive it, but in the meantime if it's helpful to others, I don't see why not. |
Here's the link to my fork of |
This is very cool. Thank you for sharing! I just tried it with emulators and it works really well. |
Can confirm this is working, awesome. |
I'm trying this out but I'm having quite "heavy handed" results — be it when applied to the XMB retroarch menu or vkcube or Blasphemous II. I know the regular ReShade version allows for configuration. The vkBasalt github page links to a merged pull request that supposedly allows for "some" configuration of reshade shaders but I'm not grasping how to format this and if it applies to the vkBasalt-adapted version by @andersstorhaug? Anyone care to enlighten me on possible configuration to improve the situation? |
@linkert The CRT-Royale reshade port seems to be missing the config parameters that other presets have. If you look at other presets, most of them have a config block at the top of the file where you can change the settings: E.g. with CRTAperture.fx The settings are the >= line at the end of each block. I'll add you can fix CRTAperture warnings by setting TEXCOORD0 to TEXCOORD on this line |
There's a port of the well known CRT-Royale shader for Reshade. However vkBasalt doesn't seem to be able to load it correctly. Other reshades work fine like
/opt/reshade/shaders/CRT.fx
CRT-Royale reshade:
https://github.com/akgunter/crt-royale-reshade
Console output
Sysinfo
vkbasalt
The text was updated successfully, but these errors were encountered: