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
View File
@@ -87,6 +87,7 @@ void ChromaKeyNode::Value(const NodeValueRow &value, const NodeGlobals &globals,
job.SetColorProcessor(processor());
job.SetInputTexture(value[kTextureInput].data().value<TexturePtr>());
job.SetNeedsCustomShader(this);
job.SetFunctionName(QString("SceneLinearToCIEXYZ_d65"));
table->Push(NodeValue::kColorTransformJob, QVariant::fromValue(job), this);
}