Loading shaders in RetroArch

I am having an issue loading both LUT and hq2x shaders inside RetroArch.

hq2x is working ok by itself:

But when I try to combine both of them:

Any help would be greatly appreciated. Thank you.

1 Like

It’s working here nicely (vulkan backend). Firts load the LUT preset, then append HQ2x. The other way around is probably slower.

3 Likes

Thank you, and sorry for the late reply.

I noticed that when HQ2x is appended, the LUT effect seems to be ignored in the shader chain or cancelled out. You might not notice the difference at first because the default LUT is very similar to the unprocessed image.

To be absolutely sure, we can edit the lut.slangp file to load a more obvious palette, such as schindlers-list-17.png .

Could you please double-check if the shaders remain compatible when combined after making this change? Here is the configuration I used for testing:

File: lut.slangp

Content:

shaders = 1
shader0 = shaders/LUT/LUT.slang
textures = SamplerLUT
SamplerLUT = shaders/LUT/schindlers-list-17.png
SamplerLUT_linear = true`
1 Like

Strange, it seems to work on my end (vulkan, amd on windows 11):

You can also try to load hq2x preset first, but the LUT shader will run slower at viewport resolution.

2 Likes

It turns out the HQ2x on my device was different for some reason. After running the Online Updater, everything is working perfectly now.

Thanks again for your help and for taking the time to test that!

1 Like