git-svn-id: svn://db.shs.com.ru/libs@677 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -20,5 +20,6 @@ void main(void) {
|
||||
float g = gamma / frame_max;
|
||||
res /= l;
|
||||
l = 1 - exp(-l*g);
|
||||
qgl_FragColor.rgb = res * l;
|
||||
res *= l;
|
||||
qgl_FragColor = vec4(res, dot(res, luma));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user