Commit graph

7 commits

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