summaryrefslogtreecommitdiff
path: root/src/renderergl2/glsl/fogpass_fp.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/glsl/fogpass_fp.glsl')
-rw-r--r--src/renderergl2/glsl/fogpass_fp.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/glsl/fogpass_fp.glsl b/src/renderergl2/glsl/fogpass_fp.glsl
index 91884304..e2ad465b 100644
--- a/src/renderergl2/glsl/fogpass_fp.glsl
+++ b/src/renderergl2/glsl/fogpass_fp.glsl
@@ -5,5 +5,5 @@ varying float var_Scale;
void main()
{
gl_FragColor = u_Color;
- gl_FragColor.a *= sqrt(clamp(var_Scale, 0.0, 1.0));
+ gl_FragColor.a = sqrt(clamp(var_Scale, 0.0, 1.0));
}