Commit graph

17 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 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 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 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