This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 56a4620ed7a7b511e2943118d7040641809465ce
Author: m4n4t4...@gmail.com 
<m4n4t4...@gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Fri Aug 29 18:07:54 2014 +0000

    Rend2: Fix some shader stages remaining visible through fog volumes
---
 MP/code/rend2/glsl/generic_vp.glsl | 2 +-
 SP/code/rend2/glsl/generic_vp.glsl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/rend2/glsl/generic_vp.glsl 
b/MP/code/rend2/glsl/generic_vp.glsl
index 0e5b38b..8543ffd 100644
--- a/MP/code/rend2/glsl/generic_vp.glsl
+++ b/MP/code/rend2/glsl/generic_vp.glsl
@@ -193,7 +193,7 @@ float CalcFog(vec3 position)
        float t = dot(vec4(position, 1.0), u_FogDepth);
 
        float eyeOutside = float(u_FogEyeT < 0.0);
-       float fogged = float(t < eyeOutside);
+       float fogged = float(t >= eyeOutside);
 
        t += 1e-6;
        t *= fogged / (t - u_FogEyeT * eyeOutside);
diff --git a/SP/code/rend2/glsl/generic_vp.glsl 
b/SP/code/rend2/glsl/generic_vp.glsl
index 0e5b38b..8543ffd 100644
--- a/SP/code/rend2/glsl/generic_vp.glsl
+++ b/SP/code/rend2/glsl/generic_vp.glsl
@@ -193,7 +193,7 @@ float CalcFog(vec3 position)
        float t = dot(vec4(position, 1.0), u_FogDepth);
 
        float eyeOutside = float(u_FogEyeT < 0.0);
-       float fogged = float(t < eyeOutside);
+       float fogged = float(t >= eyeOutside);
 
        t += 1e-6;
        t *= fogged / (t - u_FogEyeT * eyeOutside);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to