In overlay matte, use the luminance as a matte instead of each individual color compo...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 5 Oct 2012 22:58:31 +0000 (00:58 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 5 Oct 2012 22:58:31 +0000 (00:58 +0200)
commitfe785e6f62ab58ef05972850d9275005794505b7
tree71bbc9de9e0ce307552d4904a4c5dd7b7ffbf0b1
parent4e2afd327f1ef1bb03f1371a9527bc843fe636bd
In overlay matte, use the luminance as a matte instead of each individual color component; it makes more sense to me. Also clamp luminance there to [0,1] to avoid going extrapolating into ugliness, which could happen when we had e.g. lift/gamma/gain before.
overlay_matte_effect.frag