Add ability to set custom OCIO function names

This commit is contained in:
Thomas Wilshaw
2022-04-27 22:48:41 +01:00
parent 3c13e32620
commit f9f8622682
5 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ void main() {
vec4 col = texture(tex_in, ove_texcoord);
// Perform color conversion
vec4 cie_xyz = %2(col);
vec4 cie_xyz = SceneLinearToCIEXYZ_d65(col);
vec4 lab = CIExyz_to_Lab(cie_xyz);
frag_color = vec4(lab.r);
+1 -1
View File
@@ -44,7 +44,7 @@ void main() {
}
// Perform color conversion
col = %2(col);
col = OCIODisplay(col);
// Associate or re-associate here
if (ove_maintex_alpha == ALPHA_ASSOC) {