awips2/cave/com.raytheon.viz.core.gl/localization/glsl/raster.glsl
Max Schenkelberg ae47d9683e Issue #358 Committing NPP core rendering improvements merged with Thin
Client core improvements

Former-commit-id: 206bd0450140b6bcdb3ec8f1e1e417c4c37746d6
2012-03-01 16:59:40 -06:00

11 lines
No EOL
293 B
GLSL

#include <colorUtil>
uniform float brightness;
uniform float contrast;
uniform float alpha;
uniform sampler2D rawTex;
void main(void) {
vec4 textureColor = texture2D(rawTex, gl_TexCoord[0].st);
gl_FragColor = applyContrastAlphaBrightness(textureColor, alpha, brightness, contrast);
}