mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 19:29:58 +01:00
Removing chromakey and lumakey from standard color correction shader
These effects now should be performed with effect on clone (alpha image processing shaders).
This commit is contained in:
@@ -916,10 +916,8 @@ void SessionLoader::visit(ImageProcessingShader &n)
|
||||
uniforms->QueryFloatAttribute("saturation", &n.saturation);
|
||||
uniforms->QueryFloatAttribute("hueshift", &n.hueshift);
|
||||
uniforms->QueryFloatAttribute("threshold", &n.threshold);
|
||||
uniforms->QueryFloatAttribute("lumakey", &n.lumakey);
|
||||
uniforms->QueryIntAttribute("nbColors", &n.nbColors);
|
||||
uniforms->QueryIntAttribute("invert", &n.invert);
|
||||
uniforms->QueryFloatAttribute("chromadelta", &n.chromadelta);
|
||||
}
|
||||
|
||||
XMLElement* gamma = xmlCurrent_->FirstChildElement("gamma");
|
||||
@@ -928,9 +926,6 @@ void SessionLoader::visit(ImageProcessingShader &n)
|
||||
XMLElement* levels = xmlCurrent_->FirstChildElement("levels");
|
||||
if (levels)
|
||||
tinyxml2::XMLElementToGLM( levels->FirstChildElement("vec4"), n.levels);
|
||||
XMLElement* chromakey = xmlCurrent_->FirstChildElement("chromakey");
|
||||
if (chromakey)
|
||||
tinyxml2::XMLElementToGLM( chromakey->FirstChildElement("vec4"), n.chromakey);
|
||||
}
|
||||
|
||||
void SessionLoader::visit (Source& s)
|
||||
|
||||
Reference in New Issue
Block a user