Add an OCIO Grading Transform Node

This commit is contained in:
Thomas Wilshaw
2022-03-13 23:00:00 +00:00
parent 5b565e5fa5
commit 6464bdfd68
11 changed files with 330 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
uniform sampler2D tex_in;
varying vec2 ove_texcoord;
// Program will replace this with OCIO's auto-generated shader code
%1
void main() {
vec4 col = texture2D(tex_in, ove_texcoord);
col = OCIOGradingTransform(col);
gl_FragColor = col;
}