declare const _default: "// Stephen Hill (@self_shadow): fit of the full ACES RRT + ODT, unlike the\n// luminance-only curve in aces()\n// https://github.com/TheRealMJP/BakingLab/blob/master/BakingLab/ACES.hlsl\n\n// Matrices provided in row-major order so they have been transposed\n// sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT\nconst mat3 ACESInputMat = mat3(\n 0.59719, 0.07600, 0.02840,\n 0.35458, 0.90834, 0.13383,\n 0.04823, 0.01566, 0.83777\n);\n\n// ODT_SAT => XYZ => D60_2_D65 => sRGB\nconst mat3 ACESOutputMat = mat3(\n 1.60475, -0.10208, -0.00327,\n -0.53108, 1.10813, -0.07276,\n -0.07367, -0.00605, 1.07602\n);\n\nvec3 RRTAndODTFit(vec3 v) {\n vec3 a = v * (v + 0.0245786) - 0.000090537;\n vec3 b = v * (0.983729 * v + 0.4329510) + 0.238081;\n return a / b;\n}\n\nvec3 acesHill(vec3 color) {\n color = ACESInputMat * color;\n color = RRTAndODTFit(color);\n color = ACESOutputMat * color;\n return clamp(color, 0.0, 1.0);\n}\n\n"; export default _default;