Kits/ATGTK/HDR/HDRCommon.h
inline float LinearToST2084(float normalizedLinearValue)
    {
        float ST2084 = pow((0.8359375f + 18.8515625f * pow(abs(normalizedLinearValue), 0.1593017578f)) / (1.0f + 18.6875f * pow(abs(normalizedLinearValue), 0.1593017578f)), 78.84375f);
        return ST2084;  // Don't clamp between [0..1], so we can still perform operations on scene values higher than 10,000 nits
    }
// Apply the ST.2084 curve to normalized linear values and outputs normalized non-linear values

Apply the ST.2084 curve to normalized linear values and outputs normalized non-linear values
Apply the ST . 2084 curve to normalized linear values and outputs normalized non - linear values
inline float LinearToST2084(float normalizedLinearValue)
    {
        float ST2084 = pow((0.8359375f + 18.8515625f * pow(abs(normalizedLinearValue), 0.1593017578f)) / (1.0f + 18.6875f * pow(abs(normalizedLinearValue), 0.1593017578f)), 78.84375f);
        return ST2084;  
    }
inline float LinearToST2084 ( float normalizedLinearValue ) { float ST2084 = pow ( ( 0.8359375f + 18.8515625f * pow ( abs ( normalizedLinearValue ) , 0.1593017578f ) ) / ( 1.0f + 18.6875f * pow ( abs ( normalizedLinearValue ) , 0.1593017578f ) ) , 78.84375f ) ; return ST2084 ; }
Apply the ST.2084 curve to normalized linear values and outputs normalized non-linear values
Apply the ST . 2084 curve to normalized linear values and outputs normalized non - linear values
// Don't clamp between [0..1], so we can still perform operations on scene values higher than 10,000 nits
