Commit 31be750a authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix the exposure shader

semicolons count.
parent 58ab6ef4
......@@ -18,9 +18,8 @@
uniform sampler2D image;
uniform vec4 exposure;
uniform vec4 gamma
uniform vec4 gamma;
/*const vec4 gamma = vec4(0.45, 0.45, 0.45, 1.0);*/
const vec4 grey = vec4(84.66 / 255.0, 84.66 / 255.0, 84.66 / 255.0, 1.0);
void main(void)
......
......@@ -34,7 +34,6 @@ KisOpenGLHDRExposureProgram::KisOpenGLHDRExposureProgram()
void KisOpenGLHDRExposureProgram::setExposure(float exposure)
{
m_exposure = exposure;
if (active()) {
setExposureUniformVariable();
}
......@@ -43,7 +42,6 @@ void KisOpenGLHDRExposureProgram::setExposure(float exposure)
void KisOpenGLHDRExposureProgram::setGamma(float gamma)
{
m_gamma = gamma;
if (active()) {
setGammaUniformVariable();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment