[iortcw] 92/152: All: Rend2: Let unlit materials use parallax maps

Simon McVittie smcv at debian.org
Fri Sep 8 10:40:16 UTC 2017


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

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit b9cb48e8808c315e739c662f0d4e65147fe52803
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Fri Jul 29 20:13:31 2016 -0400

    All: Rend2: Let unlit materials use parallax maps
---
 MP/code/rend2/tr_glsl.c | 3 ---
 SP/code/rend2/tr_glsl.c | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/MP/code/rend2/tr_glsl.c b/MP/code/rend2/tr_glsl.c
index 07e3d94..6a5112c 100644
--- a/MP/code/rend2/tr_glsl.c
+++ b/MP/code/rend2/tr_glsl.c
@@ -1022,9 +1022,6 @@ void GLSL_InitGPUShaders(void)
 		if ((i & LIGHTDEF_USE_PARALLAXMAP) && !r_parallaxMapping->integer)
 			continue;
 
-		if (!lightType && (i & LIGHTDEF_USE_PARALLAXMAP))
-			continue;
-
 		if (!lightType && (i & LIGHTDEF_USE_SHADOWMAP))
 			continue;
 
diff --git a/SP/code/rend2/tr_glsl.c b/SP/code/rend2/tr_glsl.c
index 07e3d94..6a5112c 100644
--- a/SP/code/rend2/tr_glsl.c
+++ b/SP/code/rend2/tr_glsl.c
@@ -1022,9 +1022,6 @@ void GLSL_InitGPUShaders(void)
 		if ((i & LIGHTDEF_USE_PARALLAXMAP) && !r_parallaxMapping->integer)
 			continue;
 
-		if (!lightType && (i & LIGHTDEF_USE_PARALLAXMAP))
-			continue;
-
 		if (!lightType && (i & LIGHTDEF_USE_SHADOWMAP))
 			continue;
 

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



More information about the Pkg-games-commits mailing list