Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

opacity of overlaid face #7

heaversm opened this Issue Jul 24, 2012 · 2 comments


None yet
2 participants

Hi - I was trying to increase the opacity of the overlaid face (or reduce blending). I noticed that decreasing the strength decreases the opacity, but increasing it did not seem to make it any more opaque. Where can I adjust this?


kylemcdonald commented Jul 24, 2012

increasing strength is the only way to do this. the blending algorithm is not based on a traditional opacity-based blending technique, so you can't just "turn up the opacity". if you want to do that, then it makes more sense to just remove the cloning algorithm completely and use a normal alpha-masked face. but this will make the lighting and colors look completely unrealistic. i hope that makes sense!

Thanks - definitely makes sense. Realism isn't quite what I'm going for, but maybe I'll experiment with removing the cloning and see how it looks. Thanks again for all your help. I've really enjoyed playing with this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment