Commit graph

40 commits

Author SHA1 Message Date
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 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 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 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 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
majorpainthecactus d265f56309 Fixed BGR Fixed scaling instructions Broke up horizontal attributes into their own channels i.e we now have horizontal beam characteristics Dabbled with values accordingly 2022-02-05 23:09:54 +00:00
majorpainthecactus 99246550c5 Improved colour accuracy Improved phosphor shapes Broke out curves into seperate channels Cleaned up shader parameters Simplified code 2022-02-04 21:55:51 +00:00
majorpainthecactus 0af8be9016 Major improvement to the Sony PVM 4K HDR shader Refactored it into a single pass for simplicity and speed Rewrote a lot of the curves Defaulted to a new mask RGBX Added ability for scanlines to overlap Broke out HDR and inverse tonemapper into headers 2022-01-29 22:58:56 +00:00
majorpainthecactus dd50fe6410 Increased sharpness to better match my PVM 2730 2022-01-07 16:42:37 +00:00
majorpainthecactus dc11427819 Fixed glitch in centre of screen when using certain aspect ratio's. 2022-01-07 14:22:59 +00:00
majorpainthecactus 94c514fe80 Better colour match the PVM 2730 2022-01-01 21:56:55 +00:00
hunterk 582b9fe1ec move the HDR shaders to their own directory, since they have specific requirements 2021-12-30 17:41:07 -06:00