11 March 2019, 22:36 | #181 | ||
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
Thanks , only something seems not right. It still applies the phosphor effect to some colors but not all. See snap (enlarged) below. Quote:
After sitting for a longer time behind a CRT playing some of these game with black backgrounds, it really stands out that black on a CRT is really much more black, compared to LCD. It's really something that pushes me to OLED HDR, if and when these will ever come out in monitor size. With regards to the red, I forgot to mention it's the CRTs that have the "different" red, not the IPS panel which actually has a "real" red (it's accurately replicating sRGB space). But now I want the incorrect red . Not that important, because everything is looking beautiful. I read something interesting about LUT shading though, could that be a way to mimic CRT colors more accurately? (It's probably not and too complicated, but just in case.. ) http://filthypants.blogspot.com/2017...ut-shader.html fwiw, The LUT shader is in this folder ttps://github.com/libretro/glsl-shaders/tree/master/reshade |
||
11 March 2019, 23:28 | #182 | ||
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
Yeah, color cutoff has to alternate between pixels with low brightness and it may look like a size 2 mask.
Complete cutoff would just produce wrong colors or. black areas, would not look good at all. Quote:
Quote:
Edit: I'll take a look at the Sony Trinitron LUT, maybe it will look better here. Edit2: LUT implemented, looks like a bit warmer colors. It's OK for testing i guess... Last edited by guest.r; 12 March 2019 at 00:27. |
||
12 March 2019, 00:30 | #183 | ||||
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
Quote:
OK. Good to know it works as it should, I guess I expected it to work out differently. Basicly I expected the whole image to get brighter when going from mask 5 to 7, because the phosphor tinting is lifted / not there in 7. Instead only the brighter parts of the image get brighter with 7 (the door on the right), but the darker parts actually stays about the same with 7 (left part). See image below. I guess my main issue / misunderstanding is why the darker (left) part of the image doesn't get brighter with mask 7? Also if you look up close, the darker part still has that green / magenta tinting, but what I understand that is actually how it should work with mask 7, right? Just reaffirming. Quote:
I also learned you can create your own LUT png, by pasting the existing palette.png below an existing image (extend the canvas), then change hue, contrast, curves etc, then cutout the palette in the image (the part of the extended canvas) and save it as a new lut.png. Seems quite complicated to make color adjustments for single colors that way though. (apparently someone in the libretro forum, used this succesfully, to only change the blue of the water in sonic to what he thought was the "real" blue..) Edit: I'll take a look at the updated shader with lut now Edit 2: Quote:
I guess it's good to mention for others, that you need to load the preset freshly and switch on "trinitron colors" to try it. Last edited by Dr.Venom; 12 March 2019 at 00:59. |
||||
12 March 2019, 04:36 | #184 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,445
|
Indeed. Trinitron Colors looks perfectly fine. Even better than the "warmer colors" tweaking (d65 to d50 strenght %).
|
12 March 2019, 17:01 | #185 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
There's only one issue, it's slightly too dark. This is noticable in SNES and PSX games, for example in Addams Family on SNES, dark is so dark that details are missing from the parallax background in some levels. This cannot be fixed with the gamma adjustment in the shader. Below compares the default and the trinitron LUT in the 240p suite. In the color bars test it can be seen that the darkest colors disappear when the LUT is applied. Also when you run the pluge test, the dark bue bars don't appear at all with the trinitron colors. I did a little experiment in Paint.NET just raising the levels slightly and saving the LUT again as PNG 24-bit, and it seems to fix the too dark issue, but it will not show the (very) dark blue vertical bars in the pluge test. Do you have an idea what adjustment should be best made to the LUT to have it pass the suite test? Default Trinitron LUT |
|
12 March 2019, 19:46 | #186 | |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,445
|
Quote:
Yeah, noticed this too. Looks a bit like a black frame insertion. Could be problematic for several games with a darker palette as you already said. |
|
12 March 2019, 20:24 | #187 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
Yeah, i noticed darker colors too. It looks much better now for my taste. I also fixed incorrect very dark colors a bit, dark blue bar was red on pluge...
It's a shader fix since it might be a coordinate issue. Lut is still the same. I also changed the slotmask a bit (together with another try on mask 7). Since it applies in gamma space the application on blight dots is mitigated by default, so it's a bit darker now. About the shaders posted here, please delete the "guest" folder before extraction since i moved the lut's into it's seperate folder, so no junk code is around. |
12 March 2019, 22:59 | #188 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,445
|
Thanks for the fast fix. Now it's really perfect.
|
12 March 2019, 23:25 | #189 | |
Registered User
Join Date: Jul 2008
Location: Netherlands
Posts: 485
|
Quote:
With regards to the LUT, it may give some interesting opportunities in the future. The following is an interesting video about someone showing possibilities with 3D LUT Creator: [ Show youtube player ] Now around 12:00 he shows how to map the color tint from one scene out of a movie onto a photo to recreate the same setting in the photograph. The result seems quite accurate, as if the photo was a shot out of the movie. The color LUT can be saved from within 3D LUT Creator I assume. In a similar fashion it could possibly allow to recreate a few color profiles from real CRTs that way (more candy! ). It's definitely something I want to take a closer look at somewhere down the line. (Unfortunately 3D LUT creator is not free..) Lastly, I was wondering when HDR lands, would you think only a "contrast" parameter setting would be needed to take full use of HDR with the shader, or do you foresee other uses? Also, would WCG have any benefit for CRT shading? Thanks again for the shader work, now back to enjoying it EDIT: I noticed you removed the Raster Bloom Grade / R. Bloom Smoothing setting, so now the issue with the "breathing" is back . As reported in post #123. EDIT 2: If it would make the shader much slower / too slow, I can understand fully why you'd rather not include it anymore. Benefit / "cost" ratio must be good enough Last edited by Dr.Venom; 13 March 2019 at 13:31. |
|
13 March 2019, 17:31 | #190 | |||
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
@Dr. Venom
Quote:
Quote:
Quote:
Lastly i updated the shader again with a better brightness profile for Trinitron Colors, also added it to the fast version. |
|||
13 March 2019, 18:36 | #191 |
Registered User
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
|
Real Trinitron colors are not so warm like "Trinitron colors" setting except if you choose "Movie" color profile from the menu. They are close to what i see on my PC monitor and even colder than that. Tweaked a bit more with "240p suite" on CRT and PC for proper white/gray/contrast/saturation levels. Almost there now, close to a real Trinitron.
|
13 March 2019, 19:06 | #192 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
Those are "D50 colors", i'll add that as a comment to avoid confusion. I think i'll modify the color temperature pass, so we can compare it with luts.
|
13 March 2019, 19:47 | #193 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,445
|
Your current colors are pretty accurate for the most Trinitron colors. Except for all greys+white. They have strong sepia tint, which my Sony Trinitron doesn't have at all. Would be great if you could tweak this (or making it tweakable via an option setting). I know that the strong sepia tint is pretty normal for "movie" profile settings, but older CRT TVs mostly didn't have this back then.
Last edited by Retro-Nerd; 13 March 2019 at 19:54. |
13 March 2019, 20:03 | #194 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
This one is for testing vs. lut, vanilla version.
I think "Color Temperature" is a better option (see shader parameters), because of the correct bightness profile. I also chose better conversion in this version. The problem is that the white point changes with color temperature, most of us can test it via lcd display calibration, so i think the shader is pretty accurate here. Warm colors have a bit yellowish whites/grays therefore. Feedback (lut vs. color temperature) is welcome. Edit: previously warmer colors were not correctly implemented, so the lut might looked better. |
13 March 2019, 21:10 | #195 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,445
|
Well, Trinitron Colors enabled in combination with Color Temperature % -40 is the best i can get. I have now the Sony Trinitron TV next to my PC. Most colors looks very similar but not 100%. The blue sky in Turrican has more teal on the Trinitron, Red is a bit darker. Tried to tweak it with Gamma settings a bit, but it destroys the whole image then.
I assume all colors slightly differs from Trinitron CRT to Trintron CRT anyway. I think this is good enough for me. Any chance we can get similar color settings in WinUAE via shader? Or does it only work properly via lut files? Last edited by Retro-Nerd; 13 March 2019 at 21:29. |
13 March 2019, 22:52 | #196 | ||
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
Quote:
Quote:
|
||
14 March 2019, 14:57 | #197 |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
Another version of trinitron colors.
Note: the lut author mentioned it was created from the original sony trinitron driver profile, sepia tones were removed (i think it's for the better now). ...and blue looks a bit more tealish. Red looks a bit "wrong", so everything should be fine. |
14 March 2019, 15:52 | #198 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,445
|
Nice, looks much better without the sepia tint. But i guess the teal you've added changed the dark blue to a lighter blue and the green from the Turrican life energy meter is also a brighter one now. The rest looks really good to me.
Trinitron Colors (yesterday version) Trinitron Colors (from today) |
14 March 2019, 16:39 | #199 | |
Registered User
Join Date: May 2017
Location: EU
Posts: 342
|
Quote:
|
|
14 March 2019, 16:56 | #200 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,445
|
Ah ok. Yes please, to have both versions would be nice.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Love Emulators? - Dgen & Hatari emulators | Paul | News | 18 | 14 January 2023 20:56 |
Multipass shaders | craig64 | support.FS-UAE | 21 | 08 December 2020 11:01 |
Shaders | Zeraphine | support.Amiga Forever | 2 | 15 March 2020 18:46 |
CG Shaders | Enverex | support.FS-UAE | 2 | 05 October 2014 18:51 |
fx Shaders in WinUAE 2.6.0 | crazy46guy | support.WinUAE | 8 | 16 June 2013 14:30 |
|
|