Please show off what crt shaders can do!

thank you duck for the tip , i have switched to Vulkan and now the preset pops up. Looks awesome too stoked

When I try and load this shader, I get the following error

[ERROR] D3DCompile failed : E:\Emulation\.Frontends\Retroarch\shaders\shaders_slang\blurs\gaussian_blur_filtering\gaussian_horizontal-sharp.slang.ps.hlsl(94,71-92): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative

It’s an issue with code vs hardware/driver things.

Your hardware isn’t supporting how the code is doing a thing, to do a thing lol.

Guest.r on my cellphone, android with Snapdragon 835

3 Likes

after a couple of days playing with crt-guest-venom-gaussian-horizontal-sharp.slangp. I’ve found it works best with the Internal Resolution raised , me personally i prefer to play in the games Native Resolution. I was wondering if i can tweak anything to get the look of guest with Internal Res raised but have the game running in Native Res ?

what i mean is the shader looks better at a higher Internal Res , in Native Res it doesn’t look as good i get squares. Hopefully my screenshot shows this.

Native Res

2 Likes

is there a way to fix this? Do I just create a preset without that shader pass?

Ye you can try that.

You can use this with crt-guest-advanced, if you increase the internal resolution under interlacing options. If you use internal resolution of 2x, then this parameter is to be set to 2.0 etc.

4 Likes

I made this preset especially for SNES, Mega Drive, Master System and NES games. @guest.r has already presented me with a better solution for dithering with its crt-guest-advanced shader, which was much clearer and the colors were much better with the adjustments of the advanced version.

1 Like

I’ve been testing crt-guest-advanced (I used downsampling and the internal res setting) with 1080p screenshots of 2 games with pixel art: Streets of Rage Remake and Sonic Mania.

It makes me think that Retroarch should have a way for its shaders to be used in a similar way to ReShade. I knew a little about the V4L2 core, if I’m not mistaken, it only works with Linux. Would it be possible to use crt-guest-advanced on Raspberry 3 or 4 using the Video Processor?

Screenshots with g-sharp (for dither blending) + crt-guest-advanced:) + crt-guest-advanced:

3 Likes

Is this a new guest-advanced shader ? stock or custom configuration ?

No, it’s the old one, my custom settings.

1 Like

thank you for chiming in guest much appreciated , i tried your setting today and i’m stoked with it

2 Likes

This looks really nice - any chance to get you preset settings ?

1 Like

Monster Hunter Freedom Unite (GDV-Advanced ReShade) :

7 Likes

Current settings.

7 Likes

Say’s current settings; Mood - Excited

Looks at screenshot; Thoughts - Nice!

Then realizes there is no settings, ded.

3 Likes

I didn’t post settings because I haven’t updated anything in a long time and am using a version of guest-dr-venom that is probably ancient by now :stuck_out_tongue:

shaders = "8"
shader0 = "shaders_slang/misc/grade.slang"
filter_linear0 = "false"
wrap_mode0 = "clamp_to_border"
mipmap_input0 = "false"
alias0 = "StockPass"
float_framebuffer0 = "false"
srgb_framebuffer0 = "false"
scale_type_x0 = "source"
scale_x0 = "1.000000"
scale_type_y0 = "source"
scale_y0 = "1.000000"
shader1 = "shaders_slang/crt/shaders/guest/crt-gdv-new/afterglow0.slang"
filter_linear1 = "false"
wrap_mode1 = "clamp_to_border"
mipmap_input1 = "false"
alias1 = "AfterglowPass"
float_framebuffer1 = "false"
srgb_framebuffer1 = "false"
scale_type_x1 = "source"
scale_x1 = "1.000000"
scale_type_y1 = "source"
scale_y1 = "1.000000"
shader2 = "shaders_slang/crt/shaders/guest/crt-gdv-new/pre-shaders-afterglow.slang"
filter_linear2 = "false"
wrap_mode2 = "clamp_to_border"
mipmap_input2 = "false"
alias2 = "PrePass"
float_framebuffer2 = "false"
srgb_framebuffer2 = "false"
scale_type_x2 = "source"
scale_x2 = "1.000000"
scale_type_y2 = "source"
scale_y2 = "1.000000"
shader3 = "shaders_slang/crt/shaders/guest/crt-gdv-new/avg-lum.slang"
filter_linear3 = "true"
wrap_mode3 = "clamp_to_border"
mipmap_input3 = "true"
alias3 = "AvgLumPass"
float_framebuffer3 = "false"
srgb_framebuffer3 = "false"
scale_type_x3 = "source"
scale_x3 = "1.000000"
scale_type_y3 = "source"
scale_y3 = "1.000000"
shader4 = "shaders_slang/crt/shaders/guest/crt-gdv-new/linearize.slang"
filter_linear4 = "true"
wrap_mode4 = "clamp_to_border"
mipmap_input4 = "false"
alias4 = "LinearizePass"
float_framebuffer4 = "true"
srgb_framebuffer4 = "false"
scale_type_x4 = "source"
scale_x4 = "1.000000"
scale_type_y4 = "source"
scale_y4 = "1.000000"
shader5 = "shaders_slang/crt/shaders/guest/crt-gdv-new/blur_horiz2.slang"
filter_linear5 = "true"
wrap_mode5 = "clamp_to_border"
mipmap_input5 = "false"
alias5 = ""
float_framebuffer5 = "false"
srgb_framebuffer5 = "false"
scale_type_x5 = "absolute"
scale_x5 = "800"
scale_type_y5 = "source"
scale_y5 = "1.000000"
shader6 = "shaders_slang/crt/shaders/guest/crt-gdv-new/blur_vert2.slang"
filter_linear6 = "true"
wrap_mode6 = "clamp_to_border"
mipmap_input6 = "false"
alias6 = "GlowPass"
float_framebuffer6 = "false"
srgb_framebuffer6 = "false"
scale_type_x6 = "absolute"
scale_x6 = "800"
scale_type_y6 = "absolute"
scale_y6 = "600"
shader7 = "shaders_slang/crt/shaders/guest/crt-gdv-new/crt-guest-dr-venom2.slang"
filter_linear7 = "true"
wrap_mode7 = "clamp_to_border"
mipmap_input7 = "false"
alias7 = ""
float_framebuffer7 = "false"
srgb_framebuffer7 = "false"
scale_type_x7 = "viewport"
scale_x7 = "1.000000"
scale_type_y7 = "viewport"
scale_y7 = "1.000000"
parameters = "g_gamma_in;g_signal_type;g_gamma_type;g_crtgamut;g_space_out;g_hue_degrees;g_I_SHIFT;g_Q_SHIFT;g_I_MUL;g_Q_MUL;g_lum_fix;g_vignette;g_vstr;g_vpower;g_lum;g_cntrst;g_mid;wp_temperature;g_sat;g_vibr;g_satr;g_satg;g_satb;g_lift;blr;blg;blb;wlr;wlg;wlb;rg;rb;gr;gb;br;bg;LUT_Size1;LUT1_toggle;LUT_Size2;LUT2_toggle;bogus_afterglow;PR;PG;PB;AS;sat;bogus_color;TNTC;CP;CS;WP;wp_saturation;lsmooth;GAMMA_INPUT;bogus_glow;SIZEH;GLOW_FALLOFF_H;SIZEV;GLOW_FALLOFF_V;bogus_brightness;glow;bloom;gamma_c;brightboost;brightboost1;bogus_scanline;gsl;scanline1;scanline2;beam_min;beam_max;beam_size;vertmask;scans;spike;bogus_filtering;h_sharp;s_sharp;smart_ei;ei_limit;sth;bogus_screen;TATE;IOS;OS;BLOOM;csize;bsize;warpX;warpY;bogus_masks;shadowMask;maskstr;masksize;maskDark;maskLight;mcut;mask_gamma;slotmask;slotwidth;double_slot;slotms;mclip;bogus_interlacing;inter;interm;gamma_out"
g_gamma_in = "2.400000"
g_signal_type = "1.000000"
g_gamma_type = "1.000000"
g_crtgamut = "2.000000"
g_space_out = "0.000000"
g_hue_degrees = "0.000000"
g_I_SHIFT = "0.000000"
g_Q_SHIFT = "0.000000"
g_I_MUL = "1.000000"
g_Q_MUL = "1.000000"
g_lum_fix = "0.000000"
g_vignette = "0.000000"
g_vstr = "40.000000"
g_vpower = "0.200000"
g_lum = "0.000000"
g_cntrst = "0.000000"
g_mid = "0.500000"
wp_temperature = "8005.000000"
g_sat = "0.000000"
g_vibr = "0.000000"
g_satr = "0.000000"
g_satg = "0.000000"
g_satb = "0.000000"
g_lift = "0.000000"
blr = "0.000000"
blg = "0.000000"
blb = "0.000000"
wlr = "1.000000"
wlg = "1.000000"
wlb = "1.000000"
rg = "0.000000"
rb = "0.000000"
gr = "0.000000"
gb = "0.000000"
br = "0.000000"
bg = "0.000000"
LUT_Size1 = "16.000000"
LUT1_toggle = "0.000000"
LUT_Size2 = "64.000000"
LUT2_toggle = "0.000000"
bogus_afterglow = "0.000000"
PR = "0.140000"
PG = "0.140000"
PB = "0.140000"
AS = "0.070000"
sat = "0.100000"
bogus_color = "0.000000"
TNTC = "0.000000"
CP = "0.000000"
CS = "0.000000"
WP = "0.000000"
wp_saturation = "1.000000"
lsmooth = "0.750000"
GAMMA_INPUT = "2.400000"
bogus_glow = "0.000000"
SIZEH = "4.000000"
GLOW_FALLOFF_H = "0.300000"
SIZEV = "4.000000"
GLOW_FALLOFF_V = "0.300000"
bogus_brightness = "0.000000"
glow = "0.006000"
bloom = "0.050000"
gamma_c = "1.000000"
brightboost = "1.000000"
brightboost1 = "1.500000"
bogus_scanline = "0.000000"
gsl = "2.000000"
scanline1 = "0.000000"
scanline2 = "20.000000"
beam_min = "1.500002"
beam_max = "1.000000"
beam_size = "1.000000"
vertmask = "-1.000000"
scans = "1.000000"
spike = "0.000000"
bogus_filtering = "0.000000"
h_sharp = "3.000000"
s_sharp = "1.000000"
smart_ei = "0.000000"
ei_limit = "2.000000"
sth = "0.000000"
bogus_screen = "0.000000"
TATE = "0.000000"
IOS = "0.000000"
OS = "1.000000"
BLOOM = "0.000000"
csize = "0.000000"
bsize = "600.000000"
warpX = "0.020000"
warpY = "0.020000"
bogus_masks = "0.000000"
shadowMask = "-1.000000"
maskstr = "0.000000"
masksize = "1.000000"
maskDark = "0.700000"
maskLight = "1.000000"
mcut = "1.150000"
mask_gamma = "2.400000"
slotmask = "0.000000"
slotwidth = "2.000000"
double_slot = "1.000000"
slotms = "1.000000"
mclip = "1.000000"
bogus_interlacing = "0.000000"
inter = "325.000000"
interm = "1.000000"
gamma_out = "2.399997"
textures = "SamplerLUT1;SamplerLUT2;SamplerLUT3"
SamplerLUT1 = "shaders_slang/crt/shaders/guest/lut/sony_trinitron1.png"
SamplerLUT1_linear = "true"
SamplerLUT1_wrap_mode = "clamp_to_border"
SamplerLUT1_mipmap = "false"
SamplerLUT2 = "shaders_slang/crt/shaders/guest/lut/sony_trinitron2.png"
SamplerLUT2_linear = "true"
SamplerLUT2_wrap_mode = "clamp_to_border"
SamplerLUT2_mipmap = "false"
SamplerLUT3 = "shaders_slang/crt/shaders/guest/lut/other1.png"
SamplerLUT3_linear = "true"
SamplerLUT3_wrap_mode = "clamp_to_border"
SamplerLUT3_mipmap = "false"
4 Likes

Fair, I just wanted to give you a hard time lol.

2 Likes

Also I’m not really doing anything fancy, it’s a very straightforward, boring setup lol.

No mask because it kills the brightness too much in fullscreen mode.

1 Like