From: Steinar H. Gunderson Date: Mon, 1 Oct 2012 17:24:21 +0000 (+0200) Subject: Slightly clearer comments for the custom uniforms in LGG. X-Git-Tag: 1.0~465 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=f8428828cb7776f06bb69a18bf15e07f1cba9f58 Slightly clearer comments for the custom uniforms in LGG. --- diff --git a/lift_gamma_gain_effect.glsl b/lift_gamma_gain_effect.glsl index 17437fb..7804f85 100644 --- a/lift_gamma_gain_effect.glsl +++ b/lift_gamma_gain_effect.glsl @@ -6,7 +6,8 @@ // operation. // These are calculated in the host code to save some arithmetic. -uniform vec3 PREFIX(gain_pow_inv_gamma), PREFIX(inv_gamma_22); +uniform vec3 PREFIX(gain_pow_inv_gamma); // gain^(1/gamma). +uniform vec3 PREFIX(inv_gamma_22); // 2.2 / gamma. vec4 FUNCNAME(vec2 tc) { vec4 x = LAST_INPUT(tc);