OpenGL2: Let unlit materials use parallax maps.

This commit is contained in:
SmileTheory 2016-07-29 01:53:50 -07:00
parent e022abeebb
commit 29ac117154

View file

@ -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;