From 29ac1171544bdbb5c61956f672753e7059c62a35 Mon Sep 17 00:00:00 2001 From: SmileTheory Date: Fri, 29 Jul 2016 01:53:50 -0700 Subject: [PATCH] OpenGL2: Let unlit materials use parallax maps. --- code/renderergl2/tr_glsl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/renderergl2/tr_glsl.c b/code/renderergl2/tr_glsl.c index 50770dac..d2bfbda2 100644 --- a/code/renderergl2/tr_glsl.c +++ b/code/renderergl2/tr_glsl.c @@ -1004,9 +1004,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;