OpenGL2: Let unlit materials use parallax maps.
This commit is contained in:
1 parent
e022abeebb
commit
29ac117154
1 file changed
-3
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user