Files
2010-04-02 02:48:44 -03:00

20 lines
355 B
GLSL

/**
* @file gammaF.glsl
*
* Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
* $License$
*/
uniform vec4 gamma;
/// Soft clips the light with a gamma correction
vec3 scaleSoftClip(vec3 light) {
// For compatibility with lower cards. Do nothing.
return light;
}
vec3 fullbrightScaleSoftClip(vec3 light) {
return scaleSoftClip(light);
}