Commit Graph

58 Commits

Author SHA1 Message Date
MajorPainTheCactus
82a26fe581 Updated defaults for the main presets and moved the old default into a 'saturated' default 2023-10-09 21:29:55 +01:00
MajorPainTheCactus
0a082bde59 Added a couple of NTSC simulation presets offered by GDPD1 and Azurfel based on work done by Guest.r. Tweaked my version too. 2023-09-16 22:15:51 +01:00
MajorPainTheCactus
e83780fb52 Fixed incorrect inverse gamma curve being applied - presumably the cores dont adhere to the output standard of the time? Dont know but this works. 2023-09-16 21:26:30 +01:00
MajorPainTheCactus
d2e2d77a6d Moved the settings around a bit to highlight the peak luminance and paper white luminance a bit more Add the differing phosphor sets - these override the standards primaries set by the colour system 2023-09-10 21:59:37 +01:00
hizzlekizzle
eca36c3b04
remove viewport scaling from crt-sony-megatron.slangp
causes problems in some cases, apparently
2023-09-09 08:43:07 -05:00
hunterk
2b30c6089f
Make a bunch of implicit scaling settings explicit (#375)
* make a bunch of implicit scaling rules explicit and move color shaders before scaling shaders in the handheld directory

* remove extraneous file

* switch vhs from viewport to source scaling
2023-03-20 10:03:42 -05:00
MajorPainTheCactus
aca330764a Reintroduced all the standard OETF and EOTF functions for all the rec. standards
Added gamma cut off values so people can adjust the gamma switch over point between equations as the standards define
Refactored the parameters and broke out values to be more clear
2023-01-18 22:25:25 +00:00
MajorPainTheCactus
67eaa5141d Fixed performance issues for shadow masks on android devices - now runs at 60fps at 1440p on Snapdragon 865 (OnePlus 8 Pro) 2022-12-02 22:50:01 +00:00
MajorPainTheCactus
e5de193625 Fixed performance issues for slot masks on low power ARM devices like mobile android phones
Improved performance issues for shadow masks on low power ARM devices like mobile android phones
2022-12-01 22:49:46 +00:00
MajorPainTheCactus
e0780ba37f Attempt to fix performance on android devices of shadow and slot masks 2022-11-29 22:13:55 +00:00
MajorPainTheCactus
f70ce8158b Removed gamma guards as they were corrupting the image as you went to the extremes of gamma - this is not what the various standard's do. I will revisit this once I figure out why they are needed and why they are corrupting the image for now they are out. 2022-11-11 22:41:24 +00:00
MajorPainTheCactus
77a6d1d561 Made the default white nits 200 and the default peak nits 1000 to better match the Samsung S95B
Removed all nit values from the presets as this is all TV dependent
2022-11-10 21:10:29 +00:00
MajorPainTheCactus
c4bd56c2cb Fixed up slot masks that were broken during my last large refactor
Made the 4K slot masks slightly taller which now makes them different to the 1080p slot masks.  Users can now switch between these sizes if they wish by selecting the 1080p or 4K.
2022-11-04 23:05:04 +00:00
MajorPainTheCactus
e37ed7cff0 Fixed gamma in to use the proper rec. 601 transfer function 2022-10-25 22:41:35 +01:00
MajorPainTheCactus
5c0f4c6553 Made colour accurate the default setting for the 'default' and 'gba-gbi' presets 2022-10-23 11:34:58 +01:00
MajorPainTheCactus
04031e186b cleaned up paths 2022-10-16 23:39:02 +01:00
MajorPainTheCactus
dd80dee7db Added two new presets - one is what I regard a good default for HDR the other is for an emulation of GBA and the GBI on a CRT. 2022-10-16 23:33:00 +01:00
MajorPainTheCactus
34e0fb10d2 Added mask accurate, colour accurate switch which effects HDR and DCI-P3 to parameters so that users can choose whether they want 100% pitch black mask or more correct looking colours i.e. not so yellow-y looking greens. Defaults to latter which is the original behaviour. 2022-09-22 23:24:47 +01:00
MajorPainTheCactus
2dddb330a7 Fixed primary transforms for wide colour gamut systems such as HDR breaking the mask and resulting in muddy colours 2022-09-21 21:27:00 +01:00
MajorPainTheCactus
2f87c8f10d Fixed DCI-P3 transform error - we now have a correct DCI-P3 space 2022-09-19 20:49:34 +01:00
MajorPainTheCactus
27915dac91 Fixed 800TVL BGR aperture grille mask Recalibrated the sammy atomiswave preset that now takes advantage of the high precision gamma Reorganised the gamma parameters to be a bit more intuitive than gamma in/out - doesn't effect presets 2022-09-18 22:15:26 +01:00
MajorPainTheCactus
ea2dbd1818 Fix for first output buffer precision - this caused a whole load of issues with gamma. I've reset all the gamma in values and given them a base line. This fix should give a good boost to image quality. 2022-09-17 21:24:22 +01:00
MajorPainTheCactus
db01a785f1
Fixed 300TVL 4K aperture grille mask 2022-08-20 15:29:12 +01:00
MajorPainTheCactus
4c7d11cd60 Added 1080p masks
Added OLED mask support
2022-08-19 22:16:56 +01:00
MajorPainTheCactus
23f22288d0 Updates for ease of integration into Mega Bezel - changes to default gamma values and reorganisation of sdr and hdr presets 2022-05-10 22:18:30 +01:00
MajorPainTheCactus
8691daf16e Added the colour space gamuts back in after temporarily removing them to fix bugs Added gamma out as well as renaming previous gamma to gamma in 2022-04-16 22:10:47 +01:00
MajorPainTheCactus
e0fa8ba1f3 Fixed colour issues when skipping phosphor gamuts Fixed gamma curves cropping dark colours (as per spec but not wanted early on in colour correction) Fixed up SDR presets to have zero values for main colour controls apart from gamma which is moved up to try and compensate for the dimmness 2022-04-15 16:19:16 +01:00
MajorPainTheCactus
372ef75e5c Fixed phosphor gamut being applied when sRGB colour space is used Reorganised shader parameters to be more intuitive Moved base crt-sony-megatron.slngp into the shader directory to edge users away from using it directly Passed in texcoord to functions Added vertical center, vertical size, horizontal center, horizontal size, pin phase, pin amp Added gamm_correct.h for easier integration 2022-04-09 21:53:37 +01:00
MajorPainTheCactus
57df3c0c12 Added NTSC support to 'crappy tv' preset otherwise known as the AEG CTV-4800-VT 2022-03-26 22:58:47 +00:00
MajorPainTheCactus
e24239523d Fixed all the presets as I hadn't included crt-sont-megatron.slangp - oops! Added SDR versions of all the shader presets for ease of use Renamed original presets with hdr postfix Inverted HDR shader value so SDR is on 0 and HDR is on 1 2022-03-24 22:09:16 +00:00
MajorPainTheCactus
543ebf7c0e Fixed jvc professional TM-H1950CG vertical convergence 2022-03-23 21:11:32 +00:00
MajorPainTheCactus
69b44722ba Cleaned up the shader presets to remove generic versions Added jvc d-series AV-36D501 preset 2022-03-23 20:38:46 +00:00
MajorPainTheCactus
721912b2e8 Fixed up Virtua Fighter some more 2022-03-20 21:22:06 +00:00
MajorPainTheCactus
aba9624731 Added black white mask on a 'hidden' value of 3.0 on CRT Type works for 4k/8K and all the TVL's Fixed up the sega virtua fighter some more - still have to cope with wider interference Removed ModInteger function 2022-03-20 21:22:06 +00:00
MajorPainTheCactus
da1a96f04e Added 4K 300TVL support (8K still to do) Added Sony PVM 1910 simulation Added Virtua Fighter Arcade simulation (still a little early) Cleaned up parameters with uneeded/confusing instructions 2022-03-17 21:33:41 +00:00
MajorPainTheCactus
2237891c65 Optimised sony megatron shader by adding a three stage process and colour grading at lower source resolution
Fixed include path slashes
2022-03-14 23:22:02 +00:00
MajorPainTheCactus
150a3b35d1 Fixed deconvergence 2022-03-11 12:57:09 +00:00
MajorPainTheCactus
6be1217655 Rename and rebranding to Sony Megatron 2022-03-11 12:57:09 +00:00
MajorPainTheCactus
b2162f07af Added SDR mode Added saturation colour grade Fixed sondy pvm shader brightness 2022-03-11 00:01:10 +00:00
MajorPainTheCactus
248f0a775c Added gamma, brightness and contrast controls 2022-03-07 21:57:58 +00:00
MajorPainTheCactus
5e6351e2c7 Moved scanline_size out to main shader for easier integration with HSM 2022-03-05 15:53:41 +00:00
MajorPainTheCactus
55e0796400 Fixed gamma curve - was using sRGB now using rec.601 / rec.709 gamma curve Added NTSC-U, NTSC-J, PAL colour systems and corresponding default white points Added colour grading: white temperature, brightness, contrast 2022-03-05 15:40:20 +00:00
MajorPainTheCactus
573cde5945 Renamed parameters and added 'hcrt' prefix to them. 2022-02-28 21:51:08 +00:00
MajorPainTheCactus
b0e9044a72 Standardized the code to the general RetroArch shaders standard 2022-02-27 12:31:28 +00:00
MajorPainTheCactus
ced4c91384 Fixed a load of bugs with vertical and horizontal convergence 2022-02-26 13:06:28 +00:00
MajorPainTheCactus
c36d5be84d Simplified the shader framework to have one master shader instead of three which meant I can remove a whole load of files 2022-02-25 20:33:25 +00:00
MajorPainTheCactus
510b6c9ef4 Added Sammy Atomiswave simulation preset Added JVC Professional TM-H1950CG simulation preset 2022-02-14 22:21:40 +00:00
MajorPainTheCactus
c511d122c1 Added Viewsonic SuperClear A90f+ simulation Added numerous shadow masks 2022-02-10 21:53:13 +00:00
MajorPainTheCactus
ff7baae3d1 Fixed up the presets for Bang & Olufsen MX8000 and Sony PVM 20L4 Added ability to dial out the horizontal blur to widen black gaps Defaulted the main shaders to standard settings not for any TV 2022-02-07 22:29:54 +00:00
MajorPainTheCactus
e755fbb0f2 Refactored shader to support shadow and dot masks - added crt-shadow-mask-hdr.slang, crt-dot-mask-hdr.slang Added Bang & Olufsen TV preset (shadow mask) Added Toshiba Microfilter TV preset (dot mask) Renamed crt-sony-pvm-4k-hdr.slang to more general crt-aperture-grille-hdr.slang Moved header files into an include directory 2022-02-06 22:12:18 +00:00