you seem to have the lilium shader twice in your reshade parameters list there, I only have one and it’s always like your second one that says error and “only hdr color spaces supported”
Yes, I did notice that. I think it is because I had reinstalled Reshade a few times. One of the two is not active though (with the error message) and does not interfere with double tonemapping.
As for why it is not working for you I have no idea at the moment. Did you try to manually override the CSP setting? If you follow the instructions from my post #2475 it normally should work.
Is there a video tutorial or more in-depth tutorial on how to set this up outside of what is in the OP? I have an LG C2 with HDR enabled, I updated the shader in Retroarch and enabled crt-sony-megatron-hdr-pass.slang in the quick menu. I have my brightness at full on the TV. I have the picture setting set to standard on the TV. I also have game optimizer enabled on the TV. My TV’s brightness and contrast are set to 100, black level 50 and dynamic tone mapping is on. The image just looks super dark when I’m playing games.
When I go to the shader parameters, I dunno what to set peak luminance to. I tried 770 and it still looks very dark. What am I doing wrong?
You’re supposed to go into Quick Menu—>Shader—>Load Preset then navigate to Shaders_Slang/HDR when load one of the *.slangp presets there (not any *.slang shader).
You’re also supposed to go into Video—>HDR and toggle HDR to On.
For Peak Luminance, look up a review of your TV on RTings.
You don’t have to have your brightness and contrast set to 100 if you’re using Sony Megatron Color Video Monitor in HDR Mode.
I recommend HDR Game Mode.
Be sure you’re using presets which have the SDR/HDR Parameter set to HDR.
Besides the Peak Luminance, it is imperative that you set the Paper White Luminance.
That’s how you load a stock Sony Megatron Color Video Monitor preset.
Thanks. I made sure to do all this (verified HDR is enabled in Retroarch Video->HDR) and tried various *.slangp HDR presets, but my game is very washed out and sepia looking. I’m running the latest retroarch. I can tell the Retroarch UI is rendering in HDR because of the glow and colors to it. As soon as I press F1 to go into the game, though, it looks very washed out.
My peak luminance value is 700 and for white I’ve tried various values from 300 to thousands, but it still doesn’t look right. Is there anything else I can try? I also tried toggling HDR off and on in Retroarch Video - HDR, as some others reported successful with this issue in this topic, but it didn’t do anything.
That sounds like the Core you’re trying to run is switching RetroArch to a driver that doesn’t support HDR.
Anyway you can try the instructions in this video here:
You can also try my latest preset pack which is available here:
CyberLab Megatron NX Death To Pixels Shader Preset Pack
The installation instructions are slightly different for this one so be sure to read them carefully following the download link.
It might help if you posted a log using pastebin.
You can also try this completely different installation method using the Reshade port of Sony Megatron Colour Video Monitor.
Tried using my monitor and still no luck. Here’s some logs from NES and SNES using HDR plugins saved as default for each of the respective cores (nit values were modified);
Does this look functional?
Somewhat. Post some example pics of the screen. Try to take a screenshot using GeForce Experience Alt+F1. If you’re in HDR mode it should save a *.jxr file instead of a *.png. You have to go into settings, enable experimental features for this to work though and the in game overlay needs to be enabled as well.
Can you update your Slang_Shaders again using Online Updater? Also your video drivers? You can update RetroArch as well.
If using my preset packs be sure to put reinstall the required versions of CRT-Guest-Advanced-NTSC in the recommended folders after you update in case they were overwritten by newer versions.
This is a strange issue you seem to be experiencing I’d say. Make sure Auto HDR is turned off in Windows. You can try setting up your HDR using the instructions in this video:
Make sure your Menu Opacity is set to 0 in your user interface settings so that you can view the changes in realtime when you increase your Paperwhite brightness.
Also make sure your system is set to output RGB 4:4:4 Full. You can check this in your nVidia control panel. The TV’s HDMI input should be labelled PC and HDMI Deep Color should be enabled for that input.
You might have to test with a fresh install of RetroArch or at least rename your RetroArch.cfg file to something else then test. Try not loading any other overrides or autoloading presets.
You can also try using the D3Dxx driver in RetroArch instead of Vulkan as those also support HDR.
Please let us know, if you got it running with Lilium, because others seem to have problems. Thanks!
When I go to NVIDIA Control Panel and “Change resolution”, I changed from “Use default color settings” to “Use NVIDIA color settings”. From there, I can choose;
RGB (Output color depth options are; 8, 10, 12 bpc) (Output dynamic range options are; Full, Limited)
YCbCr444 (Output color depth options are; 8, 10, 12 bpc) (Output dynamic range options are; Limited)
YCbCr444 (Output color depth options are; 8, 10, 12 bpc) (Output dynamic range options are; Limited)
Should I be using YCbCr444 in Full, which is greyed out?
https://mega.nz/file/YB0EmLIY#xMqLRtSlEY4h3YnTswa6yuj9gCsO5UK4QUOUDwk8sic
Here’s some jxr screenshots using your 4K HDR presets on my LG C2 at 800/400. Everything in RA is up to date as far as I can tell on a clean config with the CRT-Guest-Advanced-NTSC extracted again, as are my GPU drivers (RTX 3070).
It should be just as I stated above.
The screenshots look okay to me but I can’t view them on my OLED TV at the moment.
How do they look to you?
Can you send some high quality photos of your screen. That would provide more information than a screenshot.
You can a camera app which has a Pro/Manual mode:
Set Shutter Speed to 1/60
ISO between 100 and 250 depending t on if you want to capture bright colours phosphors without blooming or overexposing the phosphors.
Focus Auto/Manual (I prefer Manual most of the time)
WB between 4300K and 6500K (I try to get the colours to match what I see in real life.
Make sure your room is as dark as possible and your camera is as stable as possible.
My presets were created on an LG OLED TV so they should look at least kinda okay even without adjusting the Paperwhite and Peak values.
You can also try some of the newer “Near Field”. They have different Paperwhite and Peak Values.
Everything seems to be working as far as RetroArch and computer are concerned.
The issue most likely lies in your TV’s settings and calibration.
I find that when I have HDR on and no shaders, the image is very bright and vivid. When I have HDR on and any variant of Megatron shaders on (the ones in the OP or yours with dependencies), the image seems washed out/sepia tone and is no longer vivid. Here are some camera phone pictures I took, but the pictures don’t really show how dark the image is with the shaders on, I think the phone is doing some exposure compensation. Unsure if this look is as-intended for the shader.
HDR off and shaders off; https://imgbox.com/jgO85iij
HDR on and shaders off; https://imgbox.com/nOCLRNVT
HDR on and HDR shader on; https://imgbox.com/p7uHyoyC
Okay, I understand. Try setting your Paperwhite Luminance to the same as your Peak Luminance and see if that improves things.
I updated my previous reply with some camera settings. You can try them.
Another thing is this HDR is not exclusive to Sony Megatron Color Video Monitor since RetroArch has global HDR Tonemapping settings which can be applied to almost any shader.
Try another shader and see how it looks. Just turn HDR on and adjust your settings in RetroArch.
I have a feeling that you might need to increase your Paperwhite Luminance value.
Here are some settings from another user who has an LG C2:
You can probably try these as a starting point.
Works on my machine, lol (although I use Guest Advanced instead of Megatron, I just like the look and customization options more)
HDR screenshots, to view them in HDR on windows you need a chromium browser and windows brightness set to 31.
I would like to know more about this HDR Screenshot mojo if you don’t mind.
How did you get from a .jxr to a .png e.t.c.?
Are the images you posted the same as the original HDR images in quality?
This would also make for a nice guide to go into the same thread that I was suggesting @dennis make.
Are you willing to share your settings so that noobs and vets alike can partake in your experience?
Use this app:
It should look the same as JXR when displayed in the browser.
I just use CRT-Guest-NTSC instead of Megatron, that’s it really.
As for settings, see below:
addnoised=0.000000
AS=0.200000
bardir=0.000000
barintensity=0.000000
barspeed=50.000000
beam_max=1.000000
beam_min=1.300000
beam_size=0.600000
blm_1=0.030000
blm_2=0.000000
bloom_dist=0.100000
bmask=0.000000
BP=0.000000
brightboost1=1.000000
brightboost2=1.000000
bsize=0.010000
b_mask=0.000000
CCONTR=0.050000
CDETAILS=1.000000
clp=0.000000
contr=0.000000
CP=3.000000
CS=0.000000
CSHARPEN=0.000000
csize=0.000000
cust_artifacting=1.000000
cust_fringing=1.000000
c_shape=0.250000
dctypex=0.000000
dctypey=0.000000
DEBLUR=1.000000
deconbx=0.000000
deconby=0.000000
decongx=0.000000
decongy=0.000000
deconrx=0.000000
deconry=0.000000
decons=1.000000
double_slot=2.000000
downsample_levelx=2.000000
downsample_levely=0.000000
FINE_BLOOM=1.000000
FINE_GAUSS=1.000000
gamma_c=1.000000
gamma_i=2.000000
gamma_o=1.950000
glow=0.080000
gsl=-1.000000
halation=0.000000
HARNG=0.300000
hiscan=0.000000
HSHARP=1.200000
HSHARPNESS=1.600000
h_mask=0.500000
interm=1.000000
interr=400.000000
intres=2.000000
IOS=0.000000
iscanb=0.200000
iscans=0.250000
lsmooth=0.700000
LUTBR=1.000000
LUTLOW=5.000000
maskboost=1.000000
masksize=1.000000
maskstr=1.000000
mask_bloom=0.000000
mask_drk=0.500000
mask_gamma=5.000000
mask_layout=0.000000
mask_lgt=1.500000
mask_zoom=-2.000000
MAXS=0.180000
mclip=0.000000
mcut=1.000000
mshift=0.000000
m_glow=0.000000
m_glow_cutoff=0.120000
m_glow_dist=1.000000
m_glow_high=5.000000
m_glow_low=0.350000
m_glow_mask=1.000000
noiseresd=2.000000
noisetype=0.000000
no_scanlines=0.000000
ntsc_brt=1.000000
ntsc_cscale1=1.000000
ntsc_cscale2=1.000000
ntsc_fields=1.000000
ntsc_gamma=1.000000
ntsc_phase=1.000000
ntsc_rainbow=0.000000
ntsc_ring=0.500000
ntsc_sat=1.500000
ntsc_scale=1.325000
ntsc_shpe=0.750000
ntsc_shrp=0.000000
ntsc_taps=32.000000
OS=1.000000
overscanx=0.000000
overscany=0.000000
PB=0.320000
PG=0.320000
post_br=1.000000
PR=0.320000
PreprocessorDefinitions=Resolution_X=1280,Resolution_Y=448
pre_bb=1.000000
quality=0.000000
sat=0.500000
sborder=0.750000
scangamma=2.400000
scanline1=6.000000
scanline2=8.000000
scans=0.500000
scan_falloff=1.000000
sega_fix=0.000000
shadow_msk=13.000000
SIGMA_H=1.200000
SIGMA_HOR=0.800000
SIGMA_V=1.200000
SIGMA_X=0.750000
SIGMA_Y=0.600000
SIZEH=6.000000
SIZEV=6.000000
SIZEX=3.000000
SIZEY=3.000000
slotmask1=1.000000
slotmask2=1.000000
slotms=1.000000
slotwidth=0.000000
smask_mit=0.000000
smoothmask=0.000000
spike=1.000000
ssharp=0.000000
S_SHARPH=1.200000
tds=0.000000
TNTC=4.000000
vigdef=1.000000
vigstr=0.000000
warpx=0.010000
warpy=0.010000
WP=0.000000
wp_saturation=1.000000
zoom_mask=0.000000
This is for Duckstation. For PCSX2 just change intres
to 0.
Now, if only there was some way to pass internal resolution form Duckstation to reshade shader…
Thank you very much. Just this morning @RetroCrisis was voicing some frustration about the difficulty in taking HDR screenshots, I’m sure he’ll appreciate something like this as well as those magnificent screenshots you posted above!
Thanks for sharing this. I look forward to testing it!!
I think I found the cleanest and crispest shader preset I have ever used with the Megatron shader. Yesterday I tried Megatron in Retroarch for comparison with Reshade Megatron and somehow it works different or I made some mistakes in the Reshade configuration, I am not sure yet. I changed a few settings in the Retroarch Megatron shader and this is what I got:
Every single pixel is scaled accurately with an Aperture Grille phosphor on top and scanlines look perfect now in my eyes, unobtrusively and not thick. It’s the first time I have seen these games that crisp and clean.
Mortal Kombat is one of those games which never looked satisfying enough in my eyes and now I am finally happy with the result and it reminds me of the old days in the Arcade playing it. This is how I remember it, very crisp and sharp.
Also I did not use any blur or NTSC filter this time, because I think it would take away the fidelity.
All pictures are in SDR as always, so please make sure that HDR is activated and SDR slider to maximum to view them in full brightness. And in Fullscreen of course.
What is your opinion about this preset? With Lilium’s HDR inverse tonemapping this looks insane on my OLED TV. @ Cyber I have not forgotten the dedicated thread, but I need to do some further testing before I do it. Some differences between Megatron in Retroarch and Megatron in Reshade are not yet clear to me and I try to figure them out.
What a difference this shader makes: