Skip to content

Commit 424cf23

Browse files
ramicazadoranteseduardo
authored andcommitted
Changed chroma_threshold_sensitivity to more sensible default
1 parent d3d2103 commit 424cf23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ViroRenderer/VROShaderFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ std::shared_ptr<VROShaderModifier> VROShaderFactory::createChromaKeyModifier(int
899899
std::vector<std::string> modifierCode = {
900900
"uniform highp vec3 color_to_replace;",
901901

902-
"const highp float chroma_threshold_sensitivity = 0.4;",
902+
"const highp float chroma_threshold_sensitivity = 0.1;",
903903
"const highp float smoothing = 0.1;",
904904
"highp float mask_y = 0.2989 * color_to_replace.r + 0.5866 * color_to_replace.g + 0.1145 * color_to_replace.b;",
905905
"highp float mask_cr = 0.7132 * (color_to_replace.r - mask_y);",

0 commit comments

Comments
 (0)