Commit graph

27 commits

Author SHA1 Message Date
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